mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Issue #5279 -> Introduce horizontal scrolling to code-blocks
Closes issue #5279 This commit re-introduces horizontal scrolling to docs' codeblocks Docker-DCO-1.1-Signed-off-by: O.S. Tezer <ostezer@gmail.com> (github: ostezer)
This commit is contained in:
parent
a6ce867e48
commit
7a7bb43db5
1 changed files with 5 additions and 0 deletions
5
docs/theme/mkdocs/css/docs.css
vendored
5
docs/theme/mkdocs/css/docs.css
vendored
|
@ -249,6 +249,11 @@ ol li {
|
|||
border-radius: 4px;
|
||||
-webkit-border-radius: 4px;
|
||||
-moz-border-radius: 4px;
|
||||
overflow-x: auto;
|
||||
}
|
||||
.content-body pre code {
|
||||
overflow-wrap: normal;
|
||||
white-space: pre;
|
||||
}
|
||||
|
||||
#leftnav .nav.nav-tabs li a {
|
||||
|
|
Loading…
Reference in a new issue