kosei-n 2 лет назад
Родитель
Сommit
974bd5aef4

+ 1 - 2
apps/app/src/components/Sidebar/PageTreeItem/Ellipsis.tsx

@@ -131,8 +131,7 @@ export const Ellipsis: FC<TreeItemToolProps> = (props) => {
   return (
   return (
     <>
     <>
       {isRenameInputShown ? (
       {isRenameInputShown ? (
-        <div className={`position-absolute w-100 ${hasChildren ? 'ms-5' : 'ms-4'}`}>
-          {/* <div className="flex-fill"> */}
+        <div className={`position-absolute ${hasChildren ? 'ms-5' : 'ms-4'}`}>
           <NotDraggableForClosableTextInput>
           <NotDraggableForClosableTextInput>
             <ClosableTextInput
             <ClosableTextInput
               value={nodePath.basename(page.path ?? '')}
               value={nodePath.basename(page.path ?? '')}

+ 0 - 7
apps/app/src/components/TreeItem/SimpleItem.tsx

@@ -210,13 +210,6 @@ export const SimpleItem: FC<SimpleItemProps> = (props) => {
 
 
         <SimpleItemContent page={page} />
         <SimpleItemContent page={page} />
 
 
-        {/* <div className="col2 d-flex">
-          {EndComponents.map((EndComponent, index) => (
-            // eslint-disable-next-line react/no-array-index-key
-            <EndComponent key={index} {...toolProps} />
-          ))}
-        </div> */}
-
         {EndComponents.map((EndComponent, index) => (
         {EndComponents.map((EndComponent, index) => (
           // eslint-disable-next-line react/no-array-index-key
           // eslint-disable-next-line react/no-array-index-key
           <EndComponent key={index} {...toolProps} />
           <EndComponent key={index} {...toolProps} />