-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore/merge-main@795167d #1247
chore/merge-main@795167d #1247
Conversation
@@ -27,7 +27,7 @@ Badges can be used as part of links or buttons to provide a counter. | |||
|
|||
{{< example >}} | |||
<button type="button" class="btn btn-primary"> | |||
Notifications <span class="badge bg-secondary">4</span> | |||
Notifications <span class="badge text-bg-secondary">4</span> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need to change the positionned example or not ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is something I don't really understand in Bootstrap's modification. They use here .text-bg-secondary
but the default value is already white. Two options:
- Remove the default color of badge with the CSS var and use everywhere in all examples
text-bg-*
- Don't use here
.text-bg-secondary
because it doesn't bring anything
Thoughts?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we need to explain that scrollspy support now accordion like elements ?
Reviewed 76/84 files
|
||
<div class="offcanvas-lg offcanvas-end" tabindex="-1" id="offcanvasResponsive" aria-labelledby="offcanvasResponsiveLabel"> | ||
<div class="offcanvas-header"> | ||
<h5 class="offcanvas-title" id="offcanvasResponsiveLabel">Responsive offcanvas</h5> | ||
<button type="button" class="btn-close" data-bs-dismiss="offcanvas" aria-label="Close"></button> | ||
<button type="button" class="btn-close" data-bs-dismiss="offcanvas" data-bs-target="#offcanvasResponsive"><span class="visually-hidden">Close</span></button> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do we need explicit target on this one and not on the others ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Without it:
Uncaught TypeError: this._config is undefined
_initializeBackDrop offcanvas.js:179
Offcanvas offcanvas.js:71
getOrCreateInstance base-component.js:65
I haven't looked at it in details but I find it weird. This is maybe a bug. Is it mentioned in the PR?
|
||
Scrollspy also works with nested `.nav`s. If a nested `.nav` is `.active`, its parents will also be `.active`. Scroll the area next to the navbar and watch the active class change. | ||
|
||
<div class="bd-example"> | ||
<div class="row"> | ||
<div class="col-4 col-lg-3"> | ||
<nav id="navbar-example3" class="navbar flex-column align-items-stretch"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not backported just below l.178
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bootstrap side
.border-right
rule from modal example CSS file twbs/bootstrap#36328added: "5.1"
and/oradded: "5.2"
on top of new Markdown files in Boostedrole="group"
"Skip to main content" has been lost in the way