Skip to content

Commit

Permalink
better css organization
Browse files Browse the repository at this point in the history
  • Loading branch information
smcalilly committed Nov 17, 2021
1 parent b2c628a commit d41957b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 14 deletions.
8 changes: 0 additions & 8 deletions bga_database/static/bootstrap/scss/utilities/_position.scss
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,3 @@ $positions: static, relative, absolute, fixed, sticky;
z-index: $zindex-sticky;
}
}

.sticky-top-button {
@supports (position: sticky) {
position: sticky;
top: 55px;
z-index: $zindex-sticky;
}
}
6 changes: 0 additions & 6 deletions bga_database/static/css/bootstrap-overrides.css

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

8 changes: 8 additions & 0 deletions bga_database/static/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -255,3 +255,11 @@ h5 {
#story-feed-stories h5 > a {
color: unset;
}

@supports (position: sticky) {
.sticky-top-button {
position: sticky;
top: 55px;
z-index: 1020;
}
}

0 comments on commit d41957b

Please sign in to comment.