mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-22 13:13:03 +02:00
Switch from list to map for responsive embeds (#28678)
This commit is contained in:
committed by
XhmikosR
parent
be2ad67786
commit
a776cc473d
@@ -255,12 +255,24 @@ $transition-collapse: height .35s ease !default;
|
||||
|
||||
$embed-responsive-aspect-ratios: () !default;
|
||||
// stylelint-disable-next-line scss/dollar-variable-default
|
||||
$embed-responsive-aspect-ratios: join(
|
||||
$embed-responsive-aspect-ratios: map-merge(
|
||||
(
|
||||
(21 9),
|
||||
(16 9),
|
||||
(4 3),
|
||||
(1 1),
|
||||
"21by9": (
|
||||
x: 21,
|
||||
y: 9
|
||||
),
|
||||
"16by9": (
|
||||
x: 16,
|
||||
y: 9
|
||||
),
|
||||
"4by3": (
|
||||
x: 4,
|
||||
y: 3
|
||||
),
|
||||
"1by1": (
|
||||
x: 1,
|
||||
y: 1
|
||||
)
|
||||
),
|
||||
$embed-responsive-aspect-ratios
|
||||
);
|
||||
|
Reference in New Issue
Block a user