2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-05 16:42:29 +03:00

Use logical property values for mx, my, px, and py utilities

This commit is contained in:
Mark Otto
2021-07-28 09:43:43 -07:00
parent 4bfd8a2cbc
commit 6d998a4b8d
2 changed files with 13 additions and 10 deletions
+6 -6
View File
@@ -316,13 +316,13 @@ $utilities: map-merge(
),
"margin-x": (
responsive: true,
property: margin-right margin-left,
property: margin-inline,
class: mx,
values: map-merge($spacers, (auto: auto))
),
"margin-y": (
responsive: true,
property: margin-top margin-bottom,
property: margin-block,
class: my,
values: map-merge($spacers, (auto: auto))
),
@@ -359,13 +359,13 @@ $utilities: map-merge(
),
"negative-margin-x": (
responsive: true,
property: margin-right margin-left,
property: margin-inline,
class: mx,
values: $negative-spacers
),
"negative-margin-y": (
responsive: true,
property: margin-top margin-bottom,
property: margin-block,
class: my,
values: $negative-spacers
),
@@ -402,13 +402,13 @@ $utilities: map-merge(
),
"padding-x": (
responsive: true,
property: padding-right padding-left,
property: padding-inline,
class: px,
values: $spacers
),
"padding-y": (
responsive: true,
property: padding-top padding-bottom,
property: padding-block,
class: py,
values: $spacers
),