#640: fix line number alignment in code block

This commit is contained in:
Alex Shpak 2024-10-02 01:43:12 +02:00
parent 657807f879
commit 2b7b9c3c79
3 changed files with 18 additions and 12 deletions

View File

@ -157,16 +157,22 @@
.highlight {
direction: ltr;
unicode-bidi: embed;
}
.highlight table tr {
td:nth-child(1) pre {
margin: 0;
padding-inline-end: 0;
}
td:nth-child(2) pre {
margin: 0;
padding-inline-start: 0;
border-radius: $border-radius;
overflow: hidden;
table tr {
td pre code > span {
display: flex;
}
td:nth-child(1) pre {
margin: 0;
padding-inline-end: 0;
}
td:nth-child(2) pre {
margin: 0;
padding-inline-start: 0;
}
}
}

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
{"Target":"book.min.c60305db360fff8cac771e98d86e78ae3ecefe402cf6f07a2948fb56422f1131.css","MediaType":"text/css","Data":{"Integrity":"sha256-xgMF2zYP/4ysdx6Y2G54rj7O/kAs9vB6KUj7VkIvETE="}}
{"Target":"book.min.d2208918717d44dd763368798f932ba074fc5ac4c6432e3b5da36b1883005c59.css","MediaType":"text/css","Data":{"Integrity":"sha256-0iCJGHF9RN12M2h5j5MroHT8WsTGQy47XaNrGIMAXFk="}}