MasseGuillaume / ScalaKata2

Interactive Playground
https://scastie.scala-lang.org/
98 stars 13 forks source link

Inconsistent font sizes #17

Closed raboof closed 8 years ago

raboof commented 8 years ago

selection_055 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 :) )