Skip to content

Commit

Permalink
fix: layout margins
Browse files Browse the repository at this point in the history
  • Loading branch information
learosema committed Oct 20, 2024
1 parent 30eebff commit f758e02
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
3 changes: 0 additions & 3 deletions docs/css/_globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,6 @@ a {
}

main {
flex: 1 auto;
width: min(100% - 3rem, var(--container-max, 60ch));
margin-inline-end: auto;
padding-block: 2rem;
}

Expand Down
7 changes: 3 additions & 4 deletions docs/css/utils/_wrapper.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/* kudos: smolcss.dev intrinsic container */

.wrapper {
width: min(100% - 3rem, var(--container-max, 862px));
margin-inline: auto;
width: min(100% - 2rem, var(--container-max, 800px));
margin-inline-start: 1rem;
margin-inline-end: auto;
}

0 comments on commit f758e02

Please sign in to comment.