mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-17 19:06:40 +02: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