mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-05-21 13:24:08 +03:00
Fix #33993 by removing scroll-padding-top for some :target trickery
This commit is contained in:
@@ -2,12 +2,13 @@
|
||||
// Bootstrap docs content theming
|
||||
//
|
||||
|
||||
// Offset for the sticky header
|
||||
:root {
|
||||
scroll-padding-top: 5rem;
|
||||
}
|
||||
|
||||
.bd-content {
|
||||
// Offset content from fixed navbar when jumping to headings
|
||||
> :target {
|
||||
padding-top: 5rem;
|
||||
margin-top: -5rem;
|
||||
}
|
||||
|
||||
> h2:not(:first-child) {
|
||||
margin-top: 3rem;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user