Only set both height and width of editor when shadow DOM is used

These work inside a shadow root, but break the flexbox behavior when
the shadow DOM is disabled.
Esse commit está contido em:
Nathan Sobo
2014-11-05 11:20:55 -07:00
commit 670b44f250
2 arquivos alterados com 6 adições e 1 exclusões
+5 -1
Ver Arquivo
@@ -2,7 +2,11 @@
@import "octicon-utf-codes";
@import "octicon-mixins";
.editor, .editor-contents {
.editor-contents {
width: 100%;
}
.editor.shadow, .editor.shadow .editor-contents {
height: 100%;
width: 100%;
}