#92, Fix code block with lines spacing

This commit is contained in:
Alex Shpak 2019-10-27 13:05:43 +01:00
parent 1c7fa1d974
commit 179d4443b8
3 changed files with 14 additions and 4 deletions

View File

@ -71,7 +71,6 @@
tr th, tr td {
padding: $padding-8 $padding-16;
line-height: 1;
border: $padding-1 solid $gray-200;
}
@ -91,7 +90,6 @@
}
dl {
// padding-left: $padding-16;
dt {
font-weight: bolder;
margin-top: $padding-16;
@ -101,4 +99,16 @@
margin-left: $padding-16 * 2;
}
}
// Special case for highlighted code with line numbers
.highlight table tr {
td:nth-child(1) pre {
margin: 0;
padding-right: 0;
}
td:nth-child(2) pre {
margin: 0;
padding-left: 0;
}
}
}

View File

@ -1 +1 @@
{"Target":"book.min.431835e98366e7af7b915e5aa52e231655f0454ad376185b14c72e6912aeb03e.css","MediaType":"text/css","Data":{"Integrity":"sha256-Qxg16YNm5697kV5apS4jFlXwRUrTdhhbFMcuaRKusD4="}}
{"Target":"book.min.dcb5f88ae9cbea1ffe9da7a510c09e799304f04d2a33302b20bf31dedb3b7778.css","MediaType":"text/css","Data":{"Integrity":"sha256-3LX4iunL6h/+naelEMCeeZME8E0qMzArIL8x3ts7d3g="}}