diff options
| author | Mark Otto <[email protected]> | 2020-09-22 16:30:00 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2020-09-23 13:30:11 -0700 |
| commit | fe38a85839056d951d37fa3092eb5125b50a678d (patch) | |
| tree | 6e60e333ff7d85682a5514c0b30f05b04095c3a1 /scss/helpers | |
| parent | 18f8601d29ba4ccb11eb1d040eedb093ad48849b (diff) | |
| download | bootstrap-fe38a85839056d951d37fa3092eb5125b50a678d.tar.xz bootstrap-fe38a85839056d951d37fa3092eb5125b50a678d.zip | |
Rename the classes and docs page, update everything accordingly
Diffstat (limited to 'scss/helpers')
| -rw-r--r-- | scss/helpers/_ratio.scss (renamed from scss/helpers/_embed.scss) | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/scss/helpers/_embed.scss b/scss/helpers/_ratio.scss index 8dbb7487d..fd2efb81e 100644 --- a/scss/helpers/_embed.scss +++ b/scss/helpers/_ratio.scss @@ -1,7 +1,6 @@ // Credit: Nicolas Gallagher and SUIT CSS. -.embed-responsive { - +.ratio { position: relative; width: 100%; @@ -11,7 +10,7 @@ content: ""; } - .embed-responsive-item, + .ratio-item, iframe, embed, object, @@ -24,8 +23,8 @@ } } -@each $key, $ratio in $embed-responsive-aspect-ratios { - .embed-responsive-#{$key} { +@each $key, $ratio in $aspect-ratios { + .ratio-#{$key} { --aspect-ratio: #{$ratio}; } } |
