Skip to content

Commit

Permalink
feat: update container gutters
Browse files Browse the repository at this point in the history
  • Loading branch information
ayeo127 committed Jan 13, 2020
1 parent 7b9a151 commit b516bbb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/panda-san/src/layout/container.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
.container {
margin: 0 auto;
padding: 0 $container-gutters-default;

@each $breakpoint-name, $gutter in $container-gutters {
@include breakpoint($breakpoint-name) {
Expand Down
1 change: 1 addition & 0 deletions packages/panda-san/src/navbar/navbar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
display: flex;
flex-wrap: wrap;
justify-content: space-between;
padding: $container-gutters-default $container-gutters-default;
width: 100%;
z-index: $stack-sticky;

Expand Down
3 changes: 2 additions & 1 deletion packages/panda-san/src/variables/container.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
$container-gutters-default: 16px;
$container-gutters: (
tablet: 32px,
tablet: 24px,
widescreen: 32px,
desktop: 32px,
fullhd: 32px
Expand Down

0 comments on commit b516bbb

Please sign in to comment.