akinori-u 2 лет назад
Родитель
Сommit
3d8cfa0b15
1 измененных файлов с 3 добавлено и 2 удалено
  1. 3 2
      apps/app/src/components/Sidebar/PageTreeItem/Ellipsis.tsx

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

@@ -1,5 +1,6 @@
+import type { FC } from 'react';
 import React, {
 import React, {
-  useCallback, useState, FC,
+  useCallback, useState,
 } from 'react';
 } from 'react';
 
 
 import nodePath from 'path';
 import nodePath from 'path';
@@ -128,7 +129,7 @@ export const Ellipsis: FC<TreeItemToolProps> = (props) => {
   return (
   return (
     <>
     <>
       {isRenameInputShown ? (
       {isRenameInputShown ? (
-        <div className="flex-fill">
+        <div className="position-absolute ms-5">
           <NotDraggableForClosableTextInput>
           <NotDraggableForClosableTextInput>
             <ClosableTextInput
             <ClosableTextInput
               value={nodePath.basename(page.path ?? '')}
               value={nodePath.basename(page.path ?? '')}