Commit 4de0de5b authored by Rene Saarsoo's avatar Rene Saarsoo
Browse files

Fix line-height of CodeMirror editor.

Some previous <pre>-related style tweaks resulted in <pre> line height
being no more applied to the CodeMirror editor.  Now explicitly stored
the line-height style.
parent cba534d3
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -42,7 +42,10 @@ pre.inline-example {
    @include border-radius(5px);
    // Create exactly the same amount of padding as normal code <pre> has
    padding: 5px 15px !important;
    background: #f7f7f7; } }
    background: #f7f7f7; }
  // same line height as for non-live code examples
  .CodeMirror pre {
    line-height: 1.3em; } }

.inline-example-cmp {
  margin-bottom: 10px;