Skip to content

Commit

Permalink
Merge pull request #150 from springload/feature/adjust-sizes-to-fit-m…
Browse files Browse the repository at this point in the history
…ore-tiles-sometimes

Adjust spacing values to fit more tiles (sometimes)
  • Loading branch information
liamjohnston authored Jul 24, 2024
2 parents 242c094 + 2870d9f commit deba821
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion cdhweb/static_src/global/components/tiles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@

@include sm {
grid-template-columns: repeat(auto-fill, minmax(px2rem(280), 1fr));
column-gap: 32px;
column-gap: 28px;
}

// For tile lists on wider landing pages, make them outdented too.
Expand Down
6 changes: 1 addition & 5 deletions cdhweb/static_src/global/css-variables/layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,22 +19,18 @@

@include sm {
--standard-gap: 24px;
--page-gutter: 32px;
--page-gutter: 24px;
}
@include md {
--page-gutter: 40px;
--streamfield-space-xs: 24px;
--streamfield-space-sm: 40px;
--streamfield-space-lg: 80px;
--content-outdent: 72px;
}
@include lg {
--standard-gap: 32px;
--streamfield-space-lg: 104px;
}
@include xl {
--standard-gap: 48px;
--page-gutter: 64px;
--content-outdent: 104px;
}
@include xxl {
Expand Down

0 comments on commit deba821

Please sign in to comment.