diff --git a/bga_database/static/bootstrap/scss/utilities/_position.scss b/bga_database/static/bootstrap/scss/utilities/_position.scss index 9c87251b..9ecdeeb9 100755 --- a/bga_database/static/bootstrap/scss/utilities/_position.scss +++ b/bga_database/static/bootstrap/scss/utilities/_position.scss @@ -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; - } -} diff --git a/bga_database/static/css/bootstrap-overrides.css b/bga_database/static/css/bootstrap-overrides.css index 060030a7..cdaf7107 100644 --- a/bga_database/static/css/bootstrap-overrides.css +++ b/bga_database/static/css/bootstrap-overrides.css @@ -5251,12 +5251,6 @@ button.bg-dark:focus { top: 0; z-index: 1020; } - - .sticky-top-button { - position: sticky; - top: 55px; - z-index: 1020; - } } .sr-only { diff --git a/bga_database/static/css/custom.css b/bga_database/static/css/custom.css index 63ea32b5..880a3c76 100644 --- a/bga_database/static/css/custom.css +++ b/bga_database/static/css/custom.css @@ -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; + } +}