Skip to content

Commit 81fe8e2

Browse files
committed
Handle viewport overflow for pre and long paths/url's.
1 parent 7b19172 commit 81fe8e2

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

website/www/_static/style.css

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,9 +146,14 @@ body > .navigation { margin-inline-start: unset;
146146
float: none;}
147147
body > .navigation li > ul > li { padding-block: 1em;
148148
/* move links away from each other */ }
149-
#roundup-issue-tracker .note { float: none; }
149+
#roundup-issue-tracker .note { float: none; /* download box */}
150150
body > .footer { margin-inline-start: unset; }
151151

152152
/* changes for content */
153+
/* stop paths and things from overflowing the viewport. */
154+
div.content { overflow-wrap: break-word; }
155+
/* add spaces around items in TOC to make hitting the links easier */
153156
#contents ul.simple li { padding-block: .5em; }
157+
/* make examples with long lines scrollable */
158+
div.highlight pre { overflow: auto;}
154159
}

0 commit comments

Comments
 (0)