Style mini editor font sizes on atom-text-editor host element

…instead of via the shadow DOM. We always honor the computed font
styles of the host element.
Esse commit está contido em:
Nathan Sobo
2014-10-11 08:46:32 -07:00
commit 087387e633
+6 -6
Ver Arquivo
@@ -88,12 +88,6 @@ atom-text-editor::shadow {
}
}
}
}
atom-text-editor.mini::shadow {
font-size: @input-font-size;
line-height: @component-line-height;
max-height: @component-line-height + 2; // +2 for borders
.placeholder-text {
position: absolute;
@@ -101,6 +95,12 @@ atom-text-editor.mini::shadow {
}
}
atom-text-editor.mini {
font-size: @input-font-size;
line-height: @component-line-height;
max-height: @component-line-height + 2; // +2 for borders
}
atom-text-editor::shadow {
z-index: 0;
font-family: Inconsolata, Monaco, Consolas, 'Courier New', Courier;