mirror of
https://github.com/atom/atom.git
synced 2026-01-23 22:08:08 -05:00
This prevents the need for a :host pseudo-class in the editor CSS which breaks linting. It also fits selectors targeting the host element in a more intuitive spot in the cascade.
14 lines
311 B
Plaintext
14 lines
311 B
Plaintext
@import "ui-variables";
|
|
|
|
atom-text-editor {
|
|
display: block;
|
|
font-family: Inconsolata, Monaco, Consolas, 'Courier New', Courier;
|
|
line-height: 1.3;
|
|
}
|
|
|
|
atom-text-editor.mini {
|
|
font-size: @input-font-size;
|
|
line-height: @component-line-height;
|
|
max-height: @component-line-height + 2; // +2 for borders
|
|
}
|