Default editor height to 100%

Previously, when autoHeight was assigned to false on the editor, we would assign an inline style of height: 100%. This preserves the essence of that behavior without prohibiting users from assigning their own height via more specific CSS rules.

Signed-off-by: Max Brunsfeld <maxbrunsfeld@github.com>
This commit is contained in:
Nathan Sobo
2016-08-17 16:14:04 -06:00
committed by Max Brunsfeld
parent 6a0b4d8fc0
commit 67313aec8d

View File

@@ -5,6 +5,7 @@
atom-text-editor {
display: block;
font-family: Menlo, Consolas, 'DejaVu Sans Mono', monospace;
height: 100%;
}
atom-text-editor[mini] {