Skip to content
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

Update .browserslistrc #37309

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .bundlewatch.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
},
{
"path": "./dist/css/bootstrap.css",
"maxSize": "29.5 kB"
"maxSize": "29.75 kB"
},
{
"path": "./dist/css/bootstrap.min.css",
Expand Down
12 changes: 6 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 6 additions & 2 deletions scss/_buttons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
}

&:focus-visible {
color: var(--#{$prefix}btn-hover-color);
color: #ffc0cb;
@include gradient-bg(var(--#{$prefix}btn-hover-bg));
border-color: var(--#{$prefix}btn-hover-border-color);
outline: 0;
Expand All @@ -68,6 +68,7 @@
}

.btn-check:focus-visible + & {
color: #ffc0cb;
border-color: var(--#{$prefix}btn-hover-border-color);
outline: 0;
// Avoid using mixin so we can pass custom focus shadow properly
Expand All @@ -91,6 +92,8 @@
@include box-shadow(var(--#{$prefix}btn-active-shadow));

&:focus-visible {
color: #ffc0cb;

// Avoid using mixin so we can pass custom focus shadow properly
@if $enable-shadows {
box-shadow: var(--#{$prefix}btn-active-shadow), var(--#{$prefix}btn-focus-box-shadow);
Expand Down Expand Up @@ -179,11 +182,12 @@

&:hover,
&:focus-visible {
color: #ffc0cb;
text-decoration: $link-hover-decoration;
}

&:focus-visible {
color: var(--#{$prefix}btn-color);
color: #ffc0cb;
}

&:hover {
Expand Down
1 change: 1 addition & 0 deletions scss/_reboot.scss
Original file line number Diff line number Diff line change
Expand Up @@ -397,6 +397,7 @@ button {
// confused and applies its very visible two-tone outline anyway.

button:focus:not(:focus-visible) {
color: #cbf;
outline: 0;
}

Expand Down
1 change: 1 addition & 0 deletions site/assets/scss/_navbar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@

.dropdown-toggle {
&:focus:not(:focus-visible) {
color: #cbf;
outline: 0;
}
}
Expand Down
4 changes: 0 additions & 4 deletions site/content/docs/5.2/helpers/stacks.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@ added: "5.1"

Stacks offer a shortcut for applying a number of flexbox properties to quickly and easily create layouts in Bootstrap. All credit for the concept and implementation goes to the open source [Pylon project](https://almonk.github.io/pylon/).

{{< callout warning >}}
Heads up! Support for gap utilities with flexbox was recently added to Safari, so consider verifying your intended browser support. Grid layout should have no issues. [Read more](https://caniuse.com/flexbox-gap).
{{< /callout >}}

## Vertical

Use `.vstack` to create vertical layouts. Stacked items are full-width by default. Use `.gap-*` utilities to add space between items.
Expand Down
Loading