mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-12 20:15:25 +00:00
fix: inconsistent breakpoints for body margin-top and navbar height
Breakpoints for dynamic navbar height and corresponding body margin-top offset differed slightly. Fix #1577
This commit is contained in:
1 parent
94e6169320
commit
4f2daafe51
1 file changed
+1
-1
@@ -24,7 +24,7 @@ body {
|
||||
padding-top: 0;
|
||||
counter-reset: captions;
|
||||
}
|
||||
@media screen and (max-width: 1200px) { /* Match max-width of .nav-bar query. */
|
||||
@include media-breakpoint-down(md) { /* Match max-width of .nav-bar query. */
|
||||
body {
|
||||
margin-top: 50px; /* Offset body content by navbar height. */
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user