From a8875bd228800e51e5fc24e357991ae89d3f9966 Mon Sep 17 00:00:00 2001 From: Alexander Moisseev Date: Wed, 3 Apr 2019 09:57:29 +0300 Subject: [PATCH] [WebUI] Fix symbol score input type --- interface/css/rspamd.css | 12 +++++++----- interface/js/app/symbols.js | 2 +- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/interface/css/rspamd.css b/interface/css/rspamd.css index 2c4e40ab8..e0e14bb3a 100644 --- a/interface/css/rspamd.css +++ b/interface/css/rspamd.css @@ -63,14 +63,18 @@ textarea { display:inline; } -input[type="number"] { - width:4em !important; +input.form-control[type="number"] { + width:4em; padding:2px 0; text-align:center; } input.action-scores { margin:5px -7em 5px 0; } +table#symbolsTable input[type="number"] { + width:6em; + font-size:11px; +} /* history table */ .table-log { @@ -553,13 +557,11 @@ td.maps-cell { .scorebar-spam { background-color: rgba(240, 0, 0, 0.1); - font-size:11px; } - .scorebar-ham { background: rgba(100, 230, 80, 0.1); - font-size:11px; } + /*btn-file for upload file button*/ .btn-file { position: relative; diff --git a/interface/js/app/symbols.js b/interface/js/app/symbols.js index 866478b1b..ed0a67583 100644 --- a/interface/js/app/symbols.js +++ b/interface/js/app/symbols.js @@ -87,7 +87,7 @@ define(["jquery", "footable"], label_class = "scorebar-spam"; } item.weight = "