Skip to content

Commit

Permalink
feat(ratio): fix boosted mode comments #775
Browse files Browse the repository at this point in the history
  • Loading branch information
MewenLeHo committed Nov 15, 2021
1 parent e4153bc commit 7903b0d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion scss/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -643,7 +643,8 @@ $aspect-ratios: (
"4x3": calc(3 / 4 * 100%),
"16x9": calc(9 / 16 * 100%),
"21x9": calc(9 / 21 * 100%),
"9x16": calc(16 / 9 * 100%),
// Boosted mod: additional ratio for portait videos
"9x16": calc(16 / 9 * 100%)
) !default;
// scss-docs-end aspect-ratios
// stylelint-enable function-disallowed-list
Expand Down
2 changes: 1 addition & 1 deletion site/assets/scss/_component-examples.scss
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@
.bd-example-ratios {
.ratio {
display: inline-block;
width: 9rem;
width: 9rem; // Boosted mod
font-weight: $font-weight-bold; // Boosted mod
color: $gray-800; // Boosted mod
background-color: $gray-400; // Boosted mod
Expand Down

0 comments on commit 7903b0d

Please sign in to comment.