In this code, where I just typed 'for', you'll see 'for' is smaller than the other code (16px vs 18px).
This seems to be because the 'for' is in a pre directly under the .Codemirror-code element, which makes the .CodeMirror-code > pre style (which specifies font-size: 16px) fire, which takes precedence over the more general .CodeMirror pre style (which specifies font-size: inherit).
(not sure if this is an issue with ScalaKata or CodeMirror, but let's start tracking here :) )
In this code, where I just typed 'for', you'll see 'for' is smaller than the other code (16px vs 18px).
This seems to be because the 'for' is in a
pre
directly under the.Codemirror-code
element, which makes the.CodeMirror-code > pre
style (which specifiesfont-size: 16px
) fire, which takes precedence over the more general.CodeMirror pre
style (which specifiesfont-size: inherit
).(not sure if this is an issue with ScalaKata or CodeMirror, but let's start tracking here :) )