Skip to content

Commit

Permalink
feat(_pageContentWrapper.scss): L3-4620 added new page wrapper and up…
Browse files Browse the repository at this point in the history
…dated tokens
  • Loading branch information
constantinehuzenko committed Jan 30, 2025
1 parent d43eb24 commit 6192abe
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
6 changes: 5 additions & 1 deletion src/components/PageContentWrapper/_pageContentWrapper.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@
.#{$px}-page-content-wrapper {
padding: 0 $padding-md;

@media (min-width: $breakpoint-md) {
padding: 0 $padding-lg;
}

@media (min-width: $breakpoint-xl) {
padding: 0 3.25rem;
padding: 0 $padding-xl;
}
}
6 changes: 3 additions & 3 deletions src/design/spacing-tokens/spacing-tokens.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ import StackAlt from '../assets/stackalt.svg';
<span className="property">1.75rem</span>
</td>
<td>
<span className="property">2.5rem</span>
<span className="property">2.25rem</span>
</td>
</tr>
<tr>
Expand All @@ -91,7 +91,7 @@ import StackAlt from '../assets/stackalt.svg';
<span className="property">2.75rem</span>
</td>
<td>
<span className="property">3.75rem</span>
<span className="property">3.25rem</span>
</td>
</tr>
<tr>
Expand All @@ -105,7 +105,7 @@ import StackAlt from '../assets/stackalt.svg';
<span className="property">3.75rem</span>
</td>
<td>
<span className="property">5rem</span>
<span className="property">4.25rem</span>
</td>
</tr>
<tr>
Expand Down
6 changes: 3 additions & 3 deletions src/scss/_vars.scss
Original file line number Diff line number Diff line change
Expand Up @@ -340,9 +340,9 @@ $snowflake-menu-padding: 1.25rem;
--spacing-micro: 0.5rem;
--spacing-xsm: 0.75rem;
--spacing-sm: 1.25rem;
--spacing-md: 2.5rem;
--spacing-lg: 3.75rem;
--spacing-xl: 5rem;
--spacing-md: 2.25rem;
--spacing-lg: 3.25rem;
--spacing-xl: 4.25rem;
--spacing-xxl: 5.25rem;
--spacing-xxxl: 6.25rem;
}
Expand Down

0 comments on commit 6192abe

Please sign in to comment.