1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

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)
This commit is contained in:
O.S.Tezer 2014-05-04 13:25:03 +01:00
parent 54e20b8f7b
commit dcae8c157b

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;