mirror of https://github.com/docker/docs.git
css: fix rendering issue for code with numbered lines
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
This commit is contained in:
parent
e8721aa8b8
commit
7e45b410c9
|
@ -22,13 +22,13 @@
|
||||||
padding: 0 4px;
|
padding: 0 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
table code {
|
table:not(.lntable) code {
|
||||||
overflow-wrap: unset;
|
overflow-wrap: unset;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Indented code blocks */
|
/* Indented code blocks */
|
||||||
:not(.highlight) > pre {
|
pre:not(.chroma) {
|
||||||
@apply my-4 overflow-x-auto p-3;
|
@apply my-4 overflow-x-auto p-3;
|
||||||
font-size: 0.875em;
|
font-size: 0.875em;
|
||||||
border: 1px solid;
|
border: 1px solid;
|
||||||
|
|
Loading…
Reference in New Issue