Skip to content

Commit 6670684

Browse files
authored
Crossword: Print layout improvements (#13549)
* Override layout for print * Update to latest crossword canary release
1 parent 6bc0699 commit 6670684

File tree

3 files changed

+30
-24
lines changed

3 files changed

+30
-24
lines changed

dotcom-rendering/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
"@guardian/libs": "22.0.0",
5151
"@guardian/ophan-tracker-js": "2.2.5",
5252
"@guardian/react-crossword": "2.0.2",
53-
"@guardian/react-crossword-next": "npm:@guardian/[email protected]20250303163323",
53+
"@guardian/react-crossword-next": "npm:@guardian/[email protected]20250306122933",
5454
"@guardian/shimport": "1.0.2",
5555
"@guardian/source": "8.0.0",
5656
"@guardian/source-development-kitchen": "12.0.0",

dotcom-rendering/src/components/CrosswordComponent.importable.tsx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,9 @@ const Layout: CrosswordProps['Layout'] = ({
105105
${from.tablet} {
106106
flex-direction: row;
107107
}
108+
@media print {
109+
flex-direction: column;
110+
}
108111
`}
109112
>
110113
<AnagramHelper />
@@ -200,6 +203,9 @@ const Layout: CrosswordProps['Layout'] = ({
200203
> * {
201204
flex: 1;
202205
}
206+
@media print {
207+
flex-direction: row;
208+
}
203209
`}
204210
>
205211
<Clues

pnpm-lock.yaml

Lines changed: 23 additions & 23 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)