Skip to content

Commit

Permalink
Merge pull request #225 from GTBitsOfGood/ad/windows-scroll-bars
Browse files Browse the repository at this point in the history
fix: scrolls only appear when necessary on windows
  • Loading branch information
avayedawadi authored Oct 29, 2023
2 parents 12eb1b0 + 8e2d3e5 commit d7fa20c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/components/Modals/CardModal/CardModal.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -411,8 +411,9 @@ const CardModal = ({
<Text
lineHeight="normal"
maxH="8em"
overflow="scroll"
overflow="hidden"
fontSize="18px"
_hover={{overflow:"auto"}}
>
{card.criteria}
</Text>
Expand All @@ -428,7 +429,8 @@ const CardModal = ({
<Flex flex={1} width="50%" flexDirection="column" gap="1rem">
<Flex
flexShrink={0}
overflow="scroll"
overflow="hidden"
_hover={{overflow:"auto"}}
flexWrap={editing ? "wrap" : "nowrap"}
>
{form.values?.tags
Expand Down

1 comment on commit d7fa20c

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deploy preview for southface ready!

✅ Preview
https://southface-62mx43vec-bitsofgood.vercel.app

Built with commit d7fa20c.
This pull request is being automatically deployed with vercel-action

Please sign in to comment.