Skip to content

Commit

Permalink
Adjust CSS to prevent layout shifts due to the scrollbar
Browse files Browse the repository at this point in the history
  • Loading branch information
stefandesu committed Jan 27, 2023
1 parent bd9d7ca commit fcb5633
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,9 @@ export default {
overflow-wrap: break-word;
word-wrap: break-word;
}
:root {
scrollbar-gutter: stable both-edges;
}
/* Use desktop style for header always (since there's only one menu item) */
.header ul, .menu-icon {
margin-top: 10px;
Expand Down

0 comments on commit fcb5633

Please sign in to comment.