浏览代码

fix(modal): make textarea font actually monospace

Modal `textarea` element has this class `text-monospace`, but there is actually no CSS definition that sets the monospace font for it (neither in custom SCSS files, nor in included libs). This commit fixes the issue by setting `monospace` `font-family` for the `textarea`, greatly enhancing UX of configuration editing in UI.
Lukáš Tesař 6 月之前
父节点
当前提交
09ba400d09
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      frontend/scss/tabler-extra.scss

+ 1 - 0
frontend/scss/tabler-extra.scss

@@ -167,4 +167,5 @@ $pink: #f66d9b;
 
 
 textarea.form-control.text-monospace {
 textarea.form-control.text-monospace {
     font-size: 12px;
     font-size: 12px;
+    font-family: monospace;
 }
 }