Commit 889d2177 authored by Rene Saarsoo's avatar Rene Saarsoo
Browse files

Fix CodeMirror editor initial height in inline examples.

Same thing as with comments editor - CodeMirror-scroll height defaults
to 300px which we override with 'auto'.
parent afae3bd4
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -46,6 +46,9 @@ pre.inline-example {
    // Create exactly the same amount of padding as normal code <pre> has
    padding: 5px 15px !important;
    background: #f7f7f7; }
  // override CodeMirror height which defaults to 300px
  .CodeMirror-scroll {
    height: auto; }
  // same line height as for non-live code examples
  .CodeMirror pre {
    line-height: 1.3em; } }