fix: show tooltip of search mode

This commit is contained in:
EnixCoda 2022-07-16 01:54:26 +08:00
parent 3ca6c2bf07
commit 6fde8c1092
2 changed files with 2 additions and 2 deletions

View file

@ -23,7 +23,7 @@ import {
useRenderFileCommentAmounts,
useRenderFileStatus,
useRenderFindInFolderButton,
useRenderGoToButton,
useRenderGoToButton
} from './hooks/useNodeRenderers'
import { useHandleNodeClick } from './hooks/useOnNodeClick'
import { useOnSearch } from './hooks/useOnSearch'
@ -202,6 +202,7 @@ function LoadedFileExplorer({
height,
width: '100%',
overflow: 'auto',
position: 'absolute', // This allows reducing `height` on viewport height reduce
}}
ref={scrollElementRef}
onScroll={onScroll}

View file

@ -503,7 +503,6 @@ html[data-with-gitako-spacing='true'] {
display: inline-flex;
flex: 1;
flex-direction: column;
overflow: hidden; // essential for shrinking `.files` when viewport height reduce
.search-input {
padding-left: 0;