Skip to content

Commit

Permalink
remove redundant variable interpolation
Browse files Browse the repository at this point in the history
  • Loading branch information
basher committed Nov 11, 2024
1 parent 99aebb8 commit 04f8b11
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion ui/src/css/components/_card.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Dependencies.
@use '../base' as *;

.card {
--card-gap: #{var(--gutter-m)};
--card-gap: var(--gutter-m);
--content-min-width: 50%;
--image-min-width: 15rem;

Expand Down
2 changes: 1 addition & 1 deletion ui/src/css/components/_carousel.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Dependencies.

.carousel {
--slide-min-width: 18.75rem;
--slide-gap: #{var(--gutter-m)};
--slide-gap: var(--gutter-m);

display: flex;
gap: var(--slide-gap, 1rem);
Expand Down
2 changes: 1 addition & 1 deletion ui/src/css/layouts/_flex.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Dependencies.
@use '../base' as *;

.flex {
--flex-gap: #{var(--gutter-m)};
--flex-gap: var(--gutter-m);

display: flex;
flex-wrap: wrap;
Expand Down
2 changes: 1 addition & 1 deletion ui/src/css/layouts/_stack.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Dependencies.
@use '../base' as *;

.stack {
--stack-gutter: #{var(--gutter-m)};
--stack-gutter: var(--gutter-m);

> * + * {
margin-block-start: var(--stack-gutter, 1em);
Expand Down

0 comments on commit 04f8b11

Please sign in to comment.