reiji-h 2 лет назад
Родитель
Сommit
5322075fed
1 измененных файлов с 6 добавлено и 0 удалено
  1. 6 0
      apps/app/src/components/PageHeader/PagePathHeader.tsx

+ 6 - 0
apps/app/src/components/PageHeader/PagePathHeader.tsx

@@ -75,6 +75,9 @@ export const PagePathHeader: FC<Props> = memo((props: Props) => {
     setRenameInputShown(true);
     setRenameInputShown(true);
   }, [parentPagePath]);
   }, [parentPagePath]);
 
 
+  // TODO: https://redmine.weseek.co.jp/issues/141062
+  // Truncate left side
+  //
   // useEffect(() => {
   // useEffect(() => {
   //   const areaElem = document.getElementById('grw-page-path-header-container');
   //   const areaElem = document.getElementById('grw-page-path-header-container');
   //   const linkElem = document.getElementById('grw-page-path-hierarchical-link');
   //   const linkElem = document.getElementById('grw-page-path-hierarchical-link');
@@ -89,6 +92,8 @@ export const PagePathHeader: FC<Props> = memo((props: Props) => {
   //     setIsIconHidden(false);
   //     setIsIconHidden(false);
   //   }
   //   }
   // }, [currentPage]);
   // }, [currentPage]);
+  //
+  // const styles: CSSProperties | undefined = isIconHidden ? { direction: 'rtl' } : undefined;
 
 
   if (dPagePath.isRoot) {
   if (dPagePath.isRoot) {
     return <></>;
     return <></>;
@@ -121,6 +126,7 @@ export const PagePathHeader: FC<Props> = memo((props: Props) => {
         ) }
         ) }
         <div
         <div
           className={`${isRenameInputShown ? 'invisible' : ''} text-truncate`}
           className={`${isRenameInputShown ? 'invisible' : ''} text-truncate`}
+          // style={styles}
         >
         >
           <PagePathHierarchicalLink
           <PagePathHierarchicalLink
             linkedPagePath={linkedPagePath}
             linkedPagePath={linkedPagePath}