Skip to content

Commit

Permalink
Stop content in main from streatching when as grid.
Browse files Browse the repository at this point in the history
  • Loading branch information
frjo committed Nov 25, 2023
1 parent 6bee338 commit dbc3d0a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions assets/sass/layouts/_layouts.scss
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@
minmax(var(--gutters), 1fr) [stretch-end];
// stylelint-enable function-name-case
padding-inline: 0;
// Stop content in main from streatching.
height: fit-content;

& > :not(.breakout, .stretch) {
grid-column: content;
Expand Down

0 comments on commit dbc3d0a

Please sign in to comment.