Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <markdotto@gmail.com>2020-09-23 21:06:21 +0300
committerMark Otto <otto@github.com>2020-09-23 23:30:11 +0300
commit9f60659d1dda28146e1c5cb6fe5a3e2b0d42b266 (patch)
tree77d6b63590b01b83c73944747a7da7a0337f02fd /site/assets
parent73e56404050fc13a5da3bb031fba0980406e7e6c (diff)
Updates to .ratio selectors and docs
- Remove group selector for ratio items - Drop the .ratio-item entirely - Update docs to explain updated approach - Update Migration guide to reflect the latest
Diffstat (limited to 'site/assets')
-rw-r--r--site/assets/scss/_component-examples.scss11
1 files changed, 6 insertions, 5 deletions
diff --git a/site/assets/scss/_component-examples.scss b/site/assets/scss/_component-examples.scss
index 5ced393519..13e25bfc88 100644
--- a/site/assets/scss/_component-examples.scss
+++ b/site/assets/scss/_component-examples.scss
@@ -174,11 +174,12 @@
color: $gray-600;
background-color: $gray-100;
border: $border-width solid $border-color;
- }
- .ratio-item {
- display: flex;
- align-items: center;
- justify-content: center;
+
+ > div {
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ }
}
}
.bd-example-ratios-breakpoint {