Skip to content

Commit deba821

Browse files
authored
Merge pull request #150 from springload/feature/adjust-sizes-to-fit-more-tiles-sometimes
Adjust spacing values to fit more tiles (sometimes)
2 parents 242c094 + 2870d9f commit deba821

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

Diff for: cdhweb/static_src/global/components/tiles.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848

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

5454
// For tile lists on wider landing pages, make them outdented too.

Diff for: cdhweb/static_src/global/css-variables/layout.scss

+1-5
Original file line numberDiff line numberDiff line change
@@ -19,22 +19,18 @@
1919

2020
@include sm {
2121
--standard-gap: 24px;
22-
--page-gutter: 32px;
22+
--page-gutter: 24px;
2323
}
2424
@include md {
25-
--page-gutter: 40px;
2625
--streamfield-space-xs: 24px;
2726
--streamfield-space-sm: 40px;
2827
--streamfield-space-lg: 80px;
2928
--content-outdent: 72px;
3029
}
3130
@include lg {
32-
--standard-gap: 32px;
3331
--streamfield-space-lg: 104px;
3432
}
3533
@include xl {
36-
--standard-gap: 48px;
37-
--page-gutter: 64px;
3834
--content-outdent: 104px;
3935
}
4036
@include xxl {

0 commit comments

Comments
 (0)