Add "overflow: auto;" to CSS. With Firefox and other browsers, this
puts a scrollbar on programlisting and screen elements that have lines too long to fit on the screen. The previous version just wrapped these long lines with no indication. Proposed on the -doc mailing list in August, no public objections, discussed with gabor@ who may have an alternate method. In the meantime, this is better than what we had.
This commit is contained in:
parent
111e7e41b8
commit
eeee0b20e6
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=43345
1 changed files with 2 additions and 0 deletions
|
@ -238,6 +238,7 @@ html {
|
|||
|
||||
pre.screen {
|
||||
white-space: pre;
|
||||
overflow: auto;
|
||||
font-family: monospace;
|
||||
padding: 1ex;
|
||||
background-color: #edc;
|
||||
|
@ -248,6 +249,7 @@ pre.screen {
|
|||
|
||||
pre.programlisting {
|
||||
white-space: pre;
|
||||
overflow: auto;
|
||||
font-family: monospace;
|
||||
padding: 1ex;
|
||||
background-color: #eee;
|
||||
|
|
Loading…
Reference in a new issue