diff mbox series

[wwwdocs] Improve formatting for <pre> blocks

Message ID alpine.LSU.2.21.1809021146100.6216@anthias.pfeifer.com
State New
Headers show
Series [wwwdocs] Improve formatting for <pre> blocks | expand

Commit Message

Gerald Pfeifer Sept. 2, 2018, 9:51 a.m. UTC
<pre class="smallexample"> is used by our online documentation, and
with a change I just applied also by news/egcs-vcg.html and later
possibly further pages.

This change limits coloring of the background of those pre blocks to 
the actual width, not the entire page width.

Validated by reviewing some pages under /onlinedocs and 
news/egcs-vcg.html.

Committed.

Gerald
diff mbox series

Patch

Index: gcc.css
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/gcc.css,v
retrieving revision 1.55
diff -u -r1.55 gcc.css
--- gcc.css	2 Sep 2018 09:02:29 -0000	1.55
+++ gcc.css	2 Sep 2018 09:46:01 -0000
@@ -103,6 +103,7 @@ 
   font-size: medium;
   background: #f2f2f9;
   padding: 4px; 
+  display: inline-block;
 }
 
 /* Classpath versus libgcj merge status page. */