Move hardcoded style to CSS in WebIDE

This commit is contained in:
Bálint Bokros 2018-02-01 15:55:28 +01:00
parent e4b5f1649c
commit dec3c5dbca
2 changed files with 6 additions and 2 deletions

View File

@ -3,8 +3,7 @@
[(text)]="code"
[(mode)]="language"
[theme]="theme"
style="min-height: 200px; width:100%; overflow: auto;"
class="mt-3 mb-3"
class="mt-3 mb-3 tfw-ace-editor"
>
</div>

View File

@ -0,0 +1,5 @@
.tfw-ace-editor {
min-height: 200px;
width:100%;
overflow: auto;
}