Skip to content

Commit 112c48f

Browse files
authored
use max height instead of fixed height (#706)
Co-authored-by: Viktor Gustafsson <[email protected]>
1 parent 8b7eca5 commit 112c48f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/layout/css/style.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ $extra-media-width: 320px;
129129
color: black;
130130
display: block;
131131
font-family: 'Courier New', Courier, monospace;
132-
height: $extra-height - 2 * $spacing;
132+
max-height: $extra-height - 2 * $spacing;
133133
overflow-y: scroll;
134134
padding: $spacing;
135135
white-space: pre-wrap;

src/pytest_html/resources/style.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)