Skip to content

Commit

Permalink
fix: fix SnekFinder selector scrolling issue
Browse files Browse the repository at this point in the history
  • Loading branch information
schettn authored Sep 7, 2021
1 parent 48a6395 commit 7917b5d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,7 @@ const Finder: React.FC<SnekFinderProps> = ({mode = 'browser', ...props}) => {
/>
</Box>
)}
<Box h="90vh" w="100%" userSelect="none">
<Box maxH="90vh" w="100%" userSelect="none" overflow="hidden">
<Toolbar
view="LIST"
onViewToggleClick={() => null}
Expand All @@ -516,7 +516,7 @@ const Finder: React.FC<SnekFinderProps> = ({mode = 'browser', ...props}) => {
<Divider />

<Flex>
<Box mt={5} mb={5} flex="1" h={'90vh'} overflowY="scroll">
<Box mt={5} mb={5} flex="1" maxH="90vh" overflowY="scroll">
<Box
{...getRootProps()}
h={'100%'}
Expand Down

0 comments on commit 7917b5d

Please sign in to comment.