Skip to content

Commit

Permalink
Fix line-height change from hover
Browse files Browse the repository at this point in the history
Partial solution to #5448.  Fixes changing `line-height`
but there are still tiny discrepancies in overall size.
  • Loading branch information
edemaine committed May 11, 2023
1 parent 98a2331 commit 0463f69
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/v2/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
white-space: pre-wrap;
}
.CodeMirror pre,
.CodeMirror pre.CodeMirror-line,
pre.placeholder-code {
line-height: 1.4em;
}
Expand Down
1 change: 1 addition & 0 deletions documentation/site/code.css
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
white-space: pre-wrap;
}
.CodeMirror pre,
.CodeMirror pre.CodeMirror-line,
pre.placeholder-code {
line-height: 1.4em;
}
Expand Down

0 comments on commit 0463f69

Please sign in to comment.