aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authork-utsumi <[email protected]>2021-02-16 15:05:09 +0900
committerGitHub <[email protected]>2021-02-16 08:05:09 +0200
commit4d19e0e8a49e887f007a1e5a147d900d15f61a9c (patch)
tree18b05a0dd9b680cb35062bf5f3a11b59242655ca
parent3d0260268edb888218b898733de43fe8b9398439 (diff)
downloadbootstrap-4d19e0e8a49e887f007a1e5a147d900d15f61a9c.tar.xz
bootstrap-4d19e0e8a49e887f007a1e5a147d900d15f61a9c.zip
Clear duplicated class `border-0` (#32925)
* Clear duplicated class `border-0` * Update migration.md Co-authored-by: Mark Otto <[email protected]>
-rw-r--r--scss/_variables.scss1
-rw-r--r--site/content/docs/5.0/migration.md10
2 files changed, 7 insertions, 4 deletions
diff --git a/scss/_variables.scss b/scss/_variables.scss
index 94e985095..3fcba715b 100644
--- a/scss/_variables.scss
+++ b/scss/_variables.scss
@@ -360,7 +360,6 @@ $container-padding-x: $grid-gutter-width / 2 !default;
// scss-docs-start border-variables
$border-width: 1px !default;
$border-widths: (
- 0: 0,
1: 1px,
2: 2px,
3: 3px,
diff --git a/site/content/docs/5.0/migration.md b/site/content/docs/5.0/migration.md
index 99a9c9e38..94f2214d7 100644
--- a/site/content/docs/5.0/migration.md
+++ b/site/content/docs/5.0/migration.md
@@ -7,11 +7,15 @@ aliases: "/migration/"
toc: true
---
-## v5.0.0-beta2
+## v5.0.0-beta3
-### Sass
+### Utilities
+
+- Dropped the `0` entry in `$border-widths` map to remove the duplicated `.border-0` class.
-#### Utilities
+## v5.0.0-beta2
+
+### Utilities
- Renamed `--aspect-ratio` to `--bs-aspect-ratio` to be consistent with other custom properties.
- Extended the `.visually-hidden-focusable` helper to also work on containers, using `:focus-within`.