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)
Upstream-commit: dcae8c157b4e754917a1ea5901ba02dc226a6d4b
Component: engine
This commit is contained in:
O.S.Tezer
2014-05-04 13:25:03 +01:00
parent 2247041861
commit d6298e76a2

View File

@ -59,6 +59,11 @@ h6,
padding: 0.5em 0.75em !important;
line-height: 1.8em;
background: #fff;
overflow-x: auto;
}
#content pre code {
word-wrap: normal;
white-space: pre;
}
#content blockquote {
background: #fff;