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

github.com/twbs/icons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'docs/assets/scss/docs.scss')
-rw-r--r--docs/assets/scss/docs.scss17
1 files changed, 16 insertions, 1 deletions
diff --git a/docs/assets/scss/docs.scss b/docs/assets/scss/docs.scss
index 8ab1ed50a..e5341b0d3 100644
--- a/docs/assets/scss/docs.scss
+++ b/docs/assets/scss/docs.scss
@@ -21,7 +21,7 @@
// @import "bootstrap/accordion";
@import "bootstrap/breadcrumb";
// @import "bootstrap/pagination";
-// @import "bootstrap/badge";
+@import "bootstrap/badge";
// @import "bootstrap/alert";
// @import "bootstrap/progress";
// @import "bootstrap/list-group";
@@ -219,3 +219,18 @@
padding-bottom: 4.5rem !important;
}
// stylelint-enable declaration-no-important
+
+.bd-sidebar {
+ @include media-breakpoint-up(lg) {
+ position: sticky;
+ top: 5rem;
+ // Override collapse behaviors
+ // stylelint-disable-next-line declaration-no-important
+ // display: block !important;
+ height: subtract(100vh, 6rem);
+ // Prevent focus styles to be cut off:
+ // padding-left: .25rem;
+ // margin-left: -.25rem;
+ overflow-y: auto;
+ }
+}