Browse Source

Only increase line-height of code inside blocks

We don't want inline code to increase the line-height of lines its in,
since that makes paragraphs have uneven line-heights and looks a little
strange.
merge-requests/85/head
Deimos 5 years ago
parent
commit
b08741bd48
  1. 5
      tildes/scss/_base.scss

5
tildes/scss/_base.scss

@ -38,7 +38,6 @@ body {
code {
display: inline-block;
font-size: inherit;
line-height: 1.1rem;
-moz-tab-size: 4;
tab-size: 4;
}
@ -175,6 +174,10 @@ p:last-child {
pre {
overflow: auto;
code {
line-height: 1.1rem;
}
}
section {

Loading…
Cancel
Save