mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-23 20:40:36 +03:00
Limit to scroll-margin-top to elements with an id
This commit is contained in:
committed by
XhmikosR
parent
61b86c1e86
commit
3b555aaf61
@@ -6,7 +6,7 @@
|
|||||||
order: 1;
|
order: 1;
|
||||||
|
|
||||||
// Offset for the sticky header
|
// Offset for the sticky header
|
||||||
> * {
|
> [id] {
|
||||||
@include media-breakpoint-up(md) {
|
@include media-breakpoint-up(md) {
|
||||||
scroll-margin-top: 4rem;
|
scroll-margin-top: 4rem;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user