Skip to content

Commit

Permalink
Merge pull request #844 from equinor/fix/scrollbar-moving-content
Browse files Browse the repository at this point in the history
🚸 Fix scrollbar moving content when becoming visible
  • Loading branch information
mariush2 authored Oct 30, 2024
2 parents cbed06d + 4f39666 commit df1c9d2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/organisms/Template/Template.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ const GlobalStyles = createGlobalStyle`
box-sizing: border-box;
}
body, #content {
scrollbar-gutter: stable both-edges;
}
dialog {
background: ${colors.ui.background__default.rgba};
}
Expand Down

0 comments on commit df1c9d2

Please sign in to comment.