svn commit: r43345 - head/share/misc
Warren Block
wblock at FreeBSD.org
Tue Dec 17 23:20:31 UTC 2013
Author: wblock
Date: Tue Dec 17 23:20:30 2013
New Revision: 43345
URL: http://svnweb.freebsd.org/changeset/doc/43345
Log:
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.
Modified:
head/share/misc/docbook.css
Modified: head/share/misc/docbook.css
==============================================================================
--- head/share/misc/docbook.css Tue Dec 17 16:05:44 2013 (r43344)
+++ head/share/misc/docbook.css Tue Dec 17 23:20:30 2013 (r43345)
@@ -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;
More information about the svn-doc-all
mailing list