Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--site/assets/scss/_content.scss12
1 files changed, 6 insertions, 6 deletions
diff --git a/site/assets/scss/_content.scss b/site/assets/scss/_content.scss
index a6c1639b06..e55a7aa634 100644
--- a/site/assets/scss/_content.scss
+++ b/site/assets/scss/_content.scss
@@ -2,14 +2,14 @@
// Bootstrap docs content theming
//
-.bd-content {
- // Offset for the sticky header
- > [id] {
- @include media-breakpoint-up(md) {
- scroll-margin-top: 4rem;
- }
+// Offset for the sticky header
+@include media-breakpoint-up(md) {
+ :root {
+ scroll-padding-top: 4rem;
}
+}
+.bd-content {
> h2:not(:first-child) {
margin-top: 3rem;
}