From: Alexander Moisseev Date: Wed, 3 Apr 2019 06:57:29 +0000 (+0300) Subject: [WebUI] Fix symbol score input type X-Git-Tag: 1.9.1~5^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a8875bd228800e51e5fc24e357991ae89d3f9966;p=rspamd.git [WebUI] Fix symbol score input type --- 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 = "