Skip to content

Commit a6844bb

Browse files
Large outputs now show vertical scrollbar
The calc(100% - 52px) corrects for the 32px that the .output element sticks out below the bottom of the page, and 20px for for the 10px padding that all pre tags have on the top and bottom. If this isn't corrected for then the vertical scrollbar is rendered below the bottom of the page.
1 parent 4bde6d1 commit a6844bb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

_content/tour/static/css/app.css

+2
Original file line numberDiff line numberDiff line change
@@ -317,6 +317,8 @@ a#run, a#kill {
317317
font-family: 'Inconsolata', monospace;
318318
background: #fafafa;
319319
margin: 0;
320+
overflow: auto;
321+
max-height: calc(100% - 52px);
320322
}
321323
.output .system {
322324
color: #888;

0 commit comments

Comments
 (0)