mirror of
https://github.com/alex-shpak/hugo-book.git
synced 2024-11-21 19:09:29 +00:00
#640: fix line number alignment in code block
This commit is contained in:
parent
657807f879
commit
2b7b9c3c79
@ -157,16 +157,22 @@
|
|||||||
.highlight {
|
.highlight {
|
||||||
direction: ltr;
|
direction: ltr;
|
||||||
unicode-bidi: embed;
|
unicode-bidi: embed;
|
||||||
}
|
border-radius: $border-radius;
|
||||||
|
overflow: hidden;
|
||||||
.highlight table tr {
|
|
||||||
td:nth-child(1) pre {
|
table tr {
|
||||||
margin: 0;
|
td pre code > span {
|
||||||
padding-inline-end: 0;
|
display: flex;
|
||||||
}
|
}
|
||||||
td:nth-child(2) pre {
|
|
||||||
margin: 0;
|
td:nth-child(1) pre {
|
||||||
padding-inline-start: 0;
|
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
@ -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="}}
|
Loading…
Reference in New Issue
Block a user