Explorar o código

correct input position

akinori-u %!s(int64=2) %!d(string=hai) anos
pai
achega
3d8cfa0b15
Modificáronse 1 ficheiros con 3 adicións e 2 borrados
  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, {
-  useCallback, useState, FC,
+  useCallback, useState,
 } from 'react';
 
 import nodePath from 'path';
@@ -128,7 +129,7 @@ export const Ellipsis: FC<TreeItemToolProps> = (props) => {
   return (
     <>
       {isRenameInputShown ? (
-        <div className="flex-fill">
+        <div className="position-absolute ms-5">
           <NotDraggableForClosableTextInput>
             <ClosableTextInput
               value={nodePath.basename(page.path ?? '')}