mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-17 00:07:24 +00:00
Make padding top responsive depending on big or mobile menu top-bar
This commit is contained in:
@@ -1,9 +1,6 @@
|
||||
@import branding
|
||||
@import mixins
|
||||
|
||||
body.off-canvas
|
||||
padding-top: 45px
|
||||
|
||||
.top-bar
|
||||
@include box-shadow(0 2px 3px 0 rgba(0,0,0,0.25))
|
||||
|
||||
@@ -23,4 +20,10 @@ nav
|
||||
font-size: 0.875rem
|
||||
|
||||
nav.top-bar a.icon i
|
||||
font-size: 22px
|
||||
font-size: 22px
|
||||
|
||||
// Responsive
|
||||
@media screen and (min-width: 1025px)
|
||||
body.off-canvas
|
||||
padding-top: 45px
|
||||
|
||||
|
||||
Reference in New Issue
Block a user