diff options
| author | Mark Otto <[email protected]> | 2020-09-23 11:06:21 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2020-09-23 13:30:11 -0700 |
| commit | 9f60659d1dda28146e1c5cb6fe5a3e2b0d42b266 (patch) | |
| tree | 77d6b63590b01b83c73944747a7da7a0337f02fd /scss | |
| parent | 73e56404050fc13a5da3bb031fba0980406e7e6c (diff) | |
| download | bootstrap-9f60659d1dda28146e1c5cb6fe5a3e2b0d42b266.tar.xz bootstrap-9f60659d1dda28146e1c5cb6fe5a3e2b0d42b266.zip | |
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 'scss')
| -rw-r--r-- | scss/helpers/_ratio.scss | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/scss/helpers/_ratio.scss b/scss/helpers/_ratio.scss index fd2efb81e..3c0ff330a 100644 --- a/scss/helpers/_ratio.scss +++ b/scss/helpers/_ratio.scss @@ -10,11 +10,7 @@ content: ""; } - .ratio-item, - iframe, - embed, - object, - video { + > * { position: absolute; top: 0; left: 0; |
