Skip to content

Commit

Permalink
fix(Dialog): hide scroll bar, but keep scrolling behaviour
Browse files Browse the repository at this point in the history
  • Loading branch information
mainframev committed Oct 4, 2023
1 parent e346e90 commit 73fc50e
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,12 @@ const StyledDialogWrapper = styled.div<{ shown?: boolean }>`
right: ${({ theme }) => theme.orbit.spaceMedium};
max-height: ${({ theme }) => `calc(100% - ${theme.orbit.spaceXLarge})`};
overflow-y: scroll;
&::-webkit-scrollbar {
display: none;
}
-ms-overflow-style: none;
scrollbar-width: none;
img {
max-width: 100%;
Expand Down

0 comments on commit 73fc50e

Please sign in to comment.