mirror of
https://github.com/docker/docs.git
synced 2026-03-27 14:28:47 +07:00
fix: whitespace breaks for code spans in tables
A regression caused by a bad rebase in #18803 Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
This commit is contained in:
@@ -20,9 +20,11 @@
|
||||
font-weight: 400;
|
||||
overflow-wrap: anywhere;
|
||||
padding: 0 4px;
|
||||
table & {
|
||||
overflow-wrap: unset;
|
||||
}
|
||||
}
|
||||
|
||||
table code {
|
||||
overflow-wrap: unset;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
/* Indented code blocks */
|
||||
@@ -47,33 +49,28 @@
|
||||
vertical-align: top;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
white-space: nowrap;
|
||||
font-weight: 400;
|
||||
padding: 0 4px;
|
||||
}
|
||||
|
||||
.highlight {
|
||||
@apply my-4 overflow-x-auto p-3;
|
||||
|
||||
/* LineTableTD */
|
||||
.lntd {
|
||||
vertical-align: top;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
border: 0;
|
||||
}
|
||||
/* LineTable */
|
||||
.lntable {
|
||||
display: table;
|
||||
width: 100%;
|
||||
border-spacing: 0;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
border: 0;
|
||||
/* LineNumberColumnHighlight */
|
||||
.lntd:first-child .hl {
|
||||
display: block;
|
||||
}
|
||||
/* LineTableTD */
|
||||
.lntd {
|
||||
vertical-align: top;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
border: 0;
|
||||
}
|
||||
/* LineTable */
|
||||
.lntable {
|
||||
display: table;
|
||||
width: 100%;
|
||||
border-spacing: 0;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
border: 0;
|
||||
/* LineNumberColumnHighlight */
|
||||
.lntd:first-child .hl {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user