mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #6458 from ostezer/docs-code-block-scrolling
Issue #5279 -> Introduce horizontal scrolling to code-blocks
This commit is contained in:
commit
69a1f53e70
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;
|
border-radius: 4px;
|
||||||
-webkit-border-radius: 4px;
|
-webkit-border-radius: 4px;
|
||||||
-moz-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 {
|
#leftnav .nav.nav-tabs li a {
|
||||||
|
|
Loading…
Add table
Reference in a new issue