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:
parent
54e20b8f7b
commit
dcae8c157b
1 changed files with 5 additions and 0 deletions
5
docs/theme/mkdocs/css/base.css
vendored
5
docs/theme/mkdocs/css/base.css
vendored
|
@ -59,6 +59,11 @@ h6,
|
||||||
padding: 0.5em 0.75em !important;
|
padding: 0.5em 0.75em !important;
|
||||||
line-height: 1.8em;
|
line-height: 1.8em;
|
||||||
background: #fff;
|
background: #fff;
|
||||||
|
overflow-x: auto;
|
||||||
|
}
|
||||||
|
#content pre code {
|
||||||
|
word-wrap: normal;
|
||||||
|
white-space: pre;
|
||||||
}
|
}
|
||||||
#content blockquote {
|
#content blockquote {
|
||||||
background: #fff;
|
background: #fff;
|
||||||
|
|
Loading…
Add table
Reference in a new issue