diff options
author | Mark Otto <markdotto@gmail.com> | 2020-09-23 02:30:00 +0300 |
---|---|---|
committer | Mark Otto <otto@github.com> | 2020-09-23 23:30:11 +0300 |
commit | fe38a85839056d951d37fa3092eb5125b50a678d (patch) | |
tree | 6e60e333ff7d85682a5514c0b30f05b04095c3a1 /scss/helpers | |
parent | 18f8601d29ba4ccb11eb1d040eedb093ad48849b (diff) |
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 8dbb7487d0..fd2efb81e4 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}; } } |