Skip to content

Commit

Permalink
[General] Tidy up utils.scss
Browse files Browse the repository at this point in the history
  • Loading branch information
lucascumsille committed Oct 14, 2024
1 parent 660decc commit 741ebda
Showing 1 changed file with 24 additions and 18 deletions.
42 changes: 24 additions & 18 deletions scoring/static/scoring/scss/_utils.scss
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,31 @@ $utilities: map-merge(
map-get($utilities, "position"),
(
responsive: true
)
),
"row-gap": (
responsive: true,
property: row-gap,
class: row-gap,
values: $spacers
),
"column-gap": (
responsive: true,
property: column-gap,
class: column-gap,
values: $spacers
),
"width": map-merge(
map-get($utilities, "width"),
(
values: map-merge(
map-get(map-get($utilities, "width"), "values"),
(
10: 10%,
15: 15%
),
),
),
),
),
);
Expand All @@ -68,21 +92,3 @@ $utilities: map-merge(
background-color: RGBA($color-rgb, var(--#{$prefix}bg-opacity, 1)) if($enable-important-utilities, !important, null);
}
}

$utilities: map-merge(
$utilities,
(
"width": map-merge(
map-get($utilities, "width"),
(
values: map-merge(
map-get(map-get($utilities, "width"), "values"),
(
10: 10%,
15: 15%
),
),
),
),
)
);

0 comments on commit 741ebda

Please sign in to comment.