Skip to content

Commit

Permalink
Fix scrolling behaviour when on tiny width
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMadBug committed Sep 27, 2021
1 parent 605e2fc commit 14e018c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
8 changes: 4 additions & 4 deletions variantgrid/static_files/default_static/css/layout.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion variantgrid/static_files/default_static/css/layout.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 3 additions & 4 deletions variantgrid/static_files/default_static/css/layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,6 @@ nav.navbar {
height: 35px;
}

body {
overflow-y: hidden;
}

.main-content {
// background-color: white;
padding-bottom: 60px;
Expand Down Expand Up @@ -75,6 +71,9 @@ body {
}
}
@media screen and (min-width: 992px) {
body {
overflow-y: hidden;
}
.main-content {
padding-top: 80px;
margin-left: 170px;
Expand Down

0 comments on commit 14e018c

Please sign in to comment.