Browse code

Introduce x-axe scrolling to code-blocks.

This improvement introduces x-axe scrolling to code-blocks by
overriding certain default bootstrap word-wrapping constraints.

This PR closes: https://github.com/dotcloud/docker/issues/5279

Docker-DCO-1.1-Signed-off-by: O.S. Tezer <ostezer@gmail.com> (github: ostezer)

O.S.Tezer authored on 2014/05/04 21:25:03
Showing 1 changed files
... ...
@@ -59,6 +59,11 @@ h6,
59 59
   padding: 0.5em 0.75em !important;
60 60
   line-height: 1.8em;
61 61
   background: #fff;
62
+  overflow-x: auto;
63
+}
64
+#content pre code {
65
+  word-wrap: normal;
66
+  white-space: pre;
62 67
 }
63 68
 #content blockquote {
64 69
   background: #fff;