mirror of
https://github.com/alex-shpak/hugo-book.git
synced 2024-11-22 03:19:25 +00:00
#92, Fix code block with lines spacing
This commit is contained in:
parent
1c7fa1d974
commit
179d4443b8
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
File diff suppressed because one or more lines are too long
@ -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="}}
|
Loading…
Reference in New Issue
Block a user