소스 검색

Revert "correct input position"

This reverts commit 3d8cfa0b15dc44e05c45b0c04c54dce99b17697d.
akinori-u 2 년 전
부모
커밋
bbbb343ccd
1개의 변경된 파일2개의 추가작업 그리고 3개의 파일을 삭제
  1. 2 3
      apps/app/src/components/Sidebar/PageTreeItem/Ellipsis.tsx

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

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