Skip to content

Commit

Permalink
Merge pull request #144 from springload/feature/enwiden-the-tiles
Browse files Browse the repository at this point in the history
Enwiden the tiles
  • Loading branch information
liamjohnston authored Jul 23, 2024
2 parents 6e75b4d + ca7cfcd commit 2b048ff
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 4 additions & 2 deletions cdhweb/static_src/global/layout/page-layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,19 @@
grid-template-areas: '. . m m m m m m m m . .';
}
@include xxxl {
grid-template-areas: '. . m m m m m m . . . .';
grid-template-areas: '. . m m m m m m m . . .';
}
}
.page-layout--with-sidenav {
// m = main content
// s = side-nav
// Note, we must keep the extra space between the `s` and `m` because otherwise
// content that has the negative "outdent" (e.g. headings) can collide with the sidenav.
@include xl {
grid-template-areas: 's s s . m m m m m m m .';
}
@include xxxl {
grid-template-areas: 's s . m m m m m m . . .';
grid-template-areas: 's s . m m m m m m m . .';
}
}

Expand Down
3 changes: 2 additions & 1 deletion cdhweb/static_src/global/layout/streamfields.scss
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@
.block--cta,
.block--note,
.block--pull-quote,
.block--video
.block--video,
.block--newsletter
) {
max-inline-size: var(--reading-max-width);
}
Expand Down

0 comments on commit 2b048ff

Please sign in to comment.