Skip to content

Commit

Permalink
Fix: disable vertical scroll instead of hide on desktop browsers
Browse files Browse the repository at this point in the history
  • Loading branch information
kimsible committed Jul 13, 2020
1 parent 677ea3c commit a3acec1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions client/src/sass/application.scss
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ body {
color: pvar(--mainForegroundColor);
background-color: pvar(--mainBackgroundColor);
font-size: 14px;
overflow-y: scroll; // When needed, make non-floating vertical scrollbar disable instead of hidding on desktop browsers
}

::selection {
Expand Down
7 changes: 7 additions & 0 deletions client/src/sass/bootstrap.scss
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,13 @@ $icon-font-path: '~@neos21/bootstrap3-glyphicons/assets/fonts/';
}
}

// Make non-floating vertical scrollbar disable instead of hidding on desktop browsers
.modal-open {
overflow-y: scroll !important;
position: fixed;
width: 100vw;
}

// Nav customizations
.nav .nav-link {
display: flex !important;
Expand Down

0 comments on commit a3acec1

Please sign in to comment.