Skip to content

Commit 8a9aabc

Browse files
Update app.css
Fixed root cause of issue: the `#explorer + div` element was sticking out 32px below the page, not anymore. `.output > pre` now uses box-sizing so that max-height 100% will always work regardless of any specific padding.
1 parent a6844bb commit 8a9aabc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

_content/tour/static/css/app.css

+3-1
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,8 @@ a#run, a#kill {
318318
background: #fafafa;
319319
margin: 0;
320320
overflow: auto;
321-
max-height: calc(100% - 52px);
321+
max-height: 100%;
322+
box-sizing: border-box;
322323
}
323324
.output .system {
324325
color: #888;
@@ -518,6 +519,7 @@ a#run, a#kill {
518519
}
519520
#explorer + div {
520521
top: 32px;
522+
height: calc(100% - 32px);
521523
}
522524
#file-menu {
523525
position: absolute;

0 commit comments

Comments
 (0)