mirror of
https://github.com/docker/docs.git
synced 2026-04-01 08:48:56 +07:00
Merge pull request #19998 from dvdksn/fix-codeblock-linenos
css: fix rendering issue for code with numbered lines
This commit is contained in:
@@ -22,13 +22,13 @@
|
||||
padding: 0 4px;
|
||||
}
|
||||
|
||||
table code {
|
||||
table:not(.lntable) code {
|
||||
overflow-wrap: unset;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
/* Indented code blocks */
|
||||
:not(.highlight) > pre {
|
||||
pre:not(.chroma) {
|
||||
@apply my-4 overflow-x-auto p-3;
|
||||
font-size: 0.875em;
|
||||
border: 1px solid;
|
||||
|
||||
Reference in New Issue
Block a user