🌈 style: editor restyling
-remove checkbox on editor -change container for buttons
This commit is contained in:
parent
86096b8da0
commit
26f4b856e1
|
@ -238,7 +238,7 @@ div#klipper_editor {
|
|||
div#klipper_editor.modal {
|
||||
height: unset !important;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
div#klipper_editor .modal-header {
|
||||
|
@ -272,7 +272,9 @@ div#klipper_editor .modal-body input[type="checkbox"] {
|
|||
}
|
||||
|
||||
div#klipper_editor .modal-body .editor-controls {
|
||||
flex: 0 auto 50px;
|
||||
flex: 0 auto;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
div#klipper_editor .flex-end {
|
||||
|
|
|
@ -38,18 +38,9 @@ $(function () {
|
|||
|
||||
if (editor) {
|
||||
editor.session.setValue(config.content);
|
||||
self.settings.settings.plugins.klipper.configuration.old_config(config.content);
|
||||
editor.clearSelection();
|
||||
}
|
||||
setInterval(function () {
|
||||
if (editor) {
|
||||
|
||||
|
||||
var modalbodyheight = $('#klipper_editor').height();
|
||||
//$('#conf_editor').height( modalbodyheight - 135 );
|
||||
editor.resize();
|
||||
|
||||
};
|
||||
}, 500);
|
||||
};
|
||||
|
||||
self.checkSyntax = function () {
|
||||
|
|
|
@ -24,11 +24,7 @@
|
|||
<i class="fas fa-spell-check"></i> {{ _('Check Syntax') }}
|
||||
</button>
|
||||
</div>
|
||||
<span class="pull-right">
|
||||
<label class="checkbox">
|
||||
<input class="inline-checkbox" type="checkbox" data-bind="checked: settings.settings.plugins.klipper.configuration.parse_check">
|
||||
{{ _('Check parsing on save') }}
|
||||
</label>
|
||||
<span class="flex-end">
|
||||
<a href='#' style="text-decoration: none;" data-bind="click: minusFontsize" title="{{ _('Decrease Fontsize') }}">
|
||||
<i class="fas fa-search-minus"></i>
|
||||
</a>
|
||||
|
|
Loading…
Reference in New Issue