mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-01 02:03:22 +00:00
Make padding top responsive depending on big or mobile menu top-bar
This commit is contained in:
committed by
Will Marshall
parent
07f1bba822
commit
07e53b8292
@@ -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