mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-31 17:11:48 +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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user