Skip to content

Commit e04aaee

Browse files
committed
worksheet theme: ignore no-printing, and revert overflow on #questionDisplay
1 parent 6b1e959 commit e04aaee

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

themes/worksheet/files/resources/worksheet.css

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,10 @@ body.worksheet {
101101

102102
:host(numbas-exam) > exam-container {
103103

104+
&.no-printing {
105+
display: block;
106+
}
107+
104108
& img {
105109
max-width: 100%;
106110
}
@@ -163,8 +167,12 @@ body.worksheet {
163167
overflow-y: revert;
164168
}
165169
& #everything {
166-
& > main > #questionContainer > .contentArea > #questionDisplay > .question-wrapper {
167-
height: revert;
170+
& > main > #questionContainer > .contentArea > #questionDisplay {
171+
overflow: revert;
172+
173+
& > .question-wrapper {
174+
height: revert;
175+
}
168176
}
169177

170178
exam-container.show-nav & {

0 commit comments

Comments
 (0)