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:
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user