Skip to content

Commit 2e94458

Browse files
Trick SCSS into not doing certain buggy preprocessing
1 parent 6bda84f commit 2e94458

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

app/assets/stylesheets/marketing_redesign/components/_footer.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ footer {
33
display: flex;
44
font-size: var(--font-size--small);
55
gap: var(--space--x-large);
6-
padding: var(--space--large) Max(var(--space--base), (100% - var(--container--large)) / 2);
6+
padding: var(--space--large) Max(var(--space--base), calc(#{100%} - var(--container--large)) / 2);
77

88
.logo {
99
font-family: var(--font-family--body);

app/assets/stylesheets/marketing_redesign/components/_header.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ header {
44
font-family: var(--font-family--heading);
55
font-size: var(--font-size--ui);
66
gap: var(--space--x-large);
7-
padding: var(--space--base) Max(var(--space--base), (100% - var(--container--large)) / 2);
7+
padding: var(--space--base) Max(var(--space--base), calc(#{100%} - var(--container--large)) / 2);
88

99
.logo {
1010
font-family: var(--font-family--body);

0 commit comments

Comments
 (0)