Date: Tue, 17 Dec 2013 23:20:31 +0000 (UTC) From: Warren Block <wblock@FreeBSD.org> To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r43345 - head/share/misc Message-ID: <201312172320.rBHNKVo5095649@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312172320.rBHNKVo5095649>