MDL-53049 themes: Offset href anchor when bootstrap header is fixed
On large screens the bootstrap header is static and can obscure the anchor target content underneath it.
This commit is contained in:
@@ -14,6 +14,21 @@
|
||||
float: right;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@media (min-width: (@navbarCollapseDesktopWidth) ) {
|
||||
|
||||
a[id]:empty::before,
|
||||
a[name]:empty::before {
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
content: '';
|
||||
padding-top: @navbarHeight;
|
||||
margin-top: -@navbarHeight;
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@media (min-width: 980px) and (max-width: 1199px) {
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user