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:
authorGeoSot <geo.sotis@gmail.com>2022-05-07 07:23:49 +0300
committerGitHub <noreply@github.com>2022-05-07 07:23:49 +0300
commit92e6856235555622c14f120b641f8118af33a5a3 (patch)
treee7c9bab1d591999f97c7774271864f4aadd0e549 /site/assets
parentf02bdf7c5276eecb754343b4cf0e17e385512806 (diff)
Docs(Scrollspy): minor changes to be aligned with new version of javascript (#36260)
* Docs(Scrollspy): minor changes to be aligned with new version of javascript code * first example: add proper root-margin * 'nested nav' example: add more content to sections & enable smooth-scroll * fix typo * Changes after feedback * Update examples and docs to streamline some things and improve how it works section Co-authored-by: Mark Otto <markdotto@gmail.com>
Diffstat (limited to 'site/assets')
-rw-r--r--site/assets/scss/_component-examples.scss11
1 files changed, 1 insertions, 10 deletions
diff --git a/site/assets/scss/_component-examples.scss b/site/assets/scss/_component-examples.scss
index d48154a86b..52b67543a8 100644
--- a/site/assets/scss/_component-examples.scss
+++ b/site/assets/scss/_component-examples.scss
@@ -242,17 +242,8 @@
}
.simple-list-example-scrollspy {
- a {
- padding: .25rem;
- margin: .5rem 0;
-
- &:focus {
- background-color: rgba($bd-purple, .65);
- }
- }
-
.active {
- background-color: rgba($bd-purple, .15);
+ background-color: rgba(var(--bd-violet-rgb), .15);
}
}