Skip to content

Commit 448b68b

Browse files
authored
Merge pull request #1192 from isaacphysics/bug/print-shadows
Remove print shadows
2 parents f4b6617 + 7027465 commit 448b68b

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

src/app/components/pages/Question.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ export const Question = withRouter(({questionIdOverride, match, location, previe
7676
const isFastTrack = doc && doc.type === DOCUMENT_TYPE.FAST_TRACK_QUESTION;
7777

7878
return <GameboardContext.Provider value={navigation.currentGameboard}>
79-
<Container className={`${doc.subjectId || ""}`}>
79+
<Container className={classNames(doc.subjectId, "no-shadow")}>
8080
{/*High contrast option*/}
8181
<TitleAndBreadcrumb
8282
currentPageTitle={generateQuestionTitle(doc)}

src/scss/common/print.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@
2929
display: none !important;
3030
}
3131

32+
.no-shadow {
33+
box-shadow: none !important;
34+
}
35+
3236
.force-print, .only-print {
3337
display: initial !important;
3438
}
@@ -84,6 +88,7 @@
8488
border-bottom: lightgray solid 1px;
8589
padding: 0 !important;
8690
margin-bottom: 1rem;
91+
box-shadow: none;
8792
}
8893

8994
.expansion-layout {

0 commit comments

Comments
 (0)