Skip to content

Commit

Permalink
Revert margin to padding change on Content
Browse files Browse the repository at this point in the history
  • Loading branch information
dougmacknz committed Jan 20, 2025
1 parent f6123cf commit 0764957
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/brave-keys-check.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@kaizen/components': patch
---

[Revert] Content: use padding instead of margin for inline spacing
4 changes: 2 additions & 2 deletions packages/components/src/Content/Content.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@

.content {
max-width: $layout-content-max-width;
padding: 0 $layout-content-side-margin;
margin: 0 $layout-content-side-margin;
width: 100%;

@media (max-width: calc(#{$layout-breakpoints-large} - 1px)) {
padding: 0 $content-margin-width-on-medium-and-small;
margin: 0 $content-margin-width-on-medium-and-small;
}
}

0 comments on commit 0764957

Please sign in to comment.