1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-16 02:24:19 +02:00

Limit to scroll-margin-top to elements with an id

This commit is contained in:
Martijn Cuppens
2020-02-24 08:31:14 +01:00
committed by XhmikosR
parent 61b86c1e86
commit 3b555aaf61

View File

@@ -6,7 +6,7 @@
order: 1;
// Offset for the sticky header
> * {
> [id] {
@include media-breakpoint-up(md) {
scroll-margin-top: 4rem;
}