From 93da3d407c87400cc429a41ca5373e9b0f0be343 Mon Sep 17 00:00:00 2001 From: ValdikSS Date: Sat, 16 Jan 2021 18:20:28 +0300 Subject: [PATCH] Remove breakpoints for small screens for "Recipient" and "Action" columns (#3938) Action buttons in quarantine are completely hidden if browser window is small, making the user confused. Make action buttons and recipient column visible all the time. --- data/web/js/site/quarantine.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/data/web/js/site/quarantine.js b/data/web/js/site/quarantine.js index 0c35dea6..f6889645 100644 --- a/data/web/js/site/quarantine.js +++ b/data/web/js/site/quarantine.js @@ -53,12 +53,12 @@ jQuery(function($){ {"name":"sender","title":lang.sender}, {"name":"subject","title":lang.subj, "type": "text"}, {"name":"rspamdaction","title":lang.rspamd_result, "type": "html"}, - {"name":"rcpt","title":lang.rcpt, "breakpoints":"xs sm md", "type": "text"}, + {"name":"rcpt","title":lang.rcpt, "type": "text"}, {"name":"virus","title":lang.danger, "type": "text"}, {"name":"score","title": lang.spam_score, "type": "text"}, {"name":"notified","title":lang.notified, "type": "text"}, {"name":"created","formatter":function unix_time_format(tm) { var date = new Date(tm ? tm * 1000 : 0); return date.toLocaleDateString(undefined, {year: "numeric", month: "2-digit", day: "2-digit", hour: "2-digit", minute: "2-digit", second: "2-digit"});},"title":lang.received,"style":{"width":"170px"}}, - {"name":"action","filterable": false,"sortable": false,"style":{"text-align":"right"},"style":{"min-width":"200px"},"type":"html","title":lang.action,"breakpoints":"xs sm md"} + {"name":"action","filterable": false,"sortable": false,"style":{"text-align":"right"},"style":{"min-width":"200px"},"type":"html","title":lang.action} ], "rows": $.ajax({ dataType: 'json',