[IMP] playground: slightly decrease font size

This commit is contained in:
Géry Debongnie
2019-05-03 14:33:34 +02:00
parent 84b3cc42cf
commit ab2a98426e
+1 -1
View File
@@ -81,7 +81,7 @@ class TabbedEditor extends owl.Component {
// remove this for xml/css (?) // remove this for xml/css (?)
this.editor.session.setOption("useWorker", false); this.editor.session.setOption("useWorker", false);
this.editor.setValue(this.props[this.state.currentTab], -1); this.editor.setValue(this.props[this.state.currentTab], -1);
this.editor.setFontSize("13px"); this.editor.setFontSize("12px");
this.editor.setTheme("ace/theme/monokai"); this.editor.setTheme("ace/theme/monokai");
this.editor.session.setMode(MODES[this.state.currentTab]); this.editor.session.setMode(MODES[this.state.currentTab]);
const tabSize = this.state.currentTab === "xml" ? 2 : 4; const tabSize = this.state.currentTab === "xml" ? 2 : 4;