1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-31 09:05:47 +02:00

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>
This commit is contained in:
GeoSot
2022-05-07 07:23:49 +03:00
committed by GitHub
parent f02bdf7c52
commit 92e6856235
3 changed files with 40 additions and 48 deletions

View File

@@ -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);
}
}