From 4b988a2e48c27e7e98b9ff2dd60e3babce80b93d Mon Sep 17 00:00:00 2001 From: Phoenix Eve Aspacio Date: Fri, 13 Jul 2018 17:02:46 +0800 Subject: [PATCH] [Web] table header width fix (#1564) * Mobile fix for tables * mobile fix for tables --- data/web/js/admin.js | 2 +- data/web/js/mailbox.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/data/web/js/admin.js b/data/web/js/admin.js index 389a24c4..375e883b 100644 --- a/data/web/js/admin.js +++ b/data/web/js/admin.js @@ -79,7 +79,7 @@ jQuery(function($){ {"name":"id","type":"text","title":"ID","style":{"width":"50px"}}, {"name":"hostname","type":"text","title":lang.host,"style":{"width":"250px"}}, {"name":"username","title":lang.username,"breakpoints":"xs sm"}, - {"name":"used_by_domains","title":lang.in_use_by, "type": "text","breakpoints":"xs sm"}, + {"name":"used_by_domains","title":lang.in_use_by,"style":{"width":"110px"}, "type": "text","breakpoints":"xs sm"}, {"name":"active","filterable": false,"style":{"maxWidth":"80px","width":"80px"},"title":lang.active}, {"name":"action","filterable": false,"sortable": false,"style":{"text-align":"right","maxWidth":"280px","width":"280px"},"type":"html","title":lang.action,"breakpoints":"xs sm"} ], diff --git a/data/web/js/mailbox.js b/data/web/js/mailbox.js index 886c28ca..33d5519d 100644 --- a/data/web/js/mailbox.js +++ b/data/web/js/mailbox.js @@ -168,7 +168,7 @@ jQuery(function($){ return Number(res[0]); }, }, - {"name":"max_quota_for_mbox","title":lang.mailbox_quota,"breakpoints":"xs sm"}, + {"name":"max_quota_for_mbox","title":lang.mailbox_quota,"breakpoints":"xs sm","style":{"width":"125px"}}, {"name":"backupmx","filterable": false,"style":{"maxWidth":"120px","width":"120px"},"title":lang.backup_mx,"breakpoints":"xs sm"}, {"name":"active","filterable": false,"style":{"maxWidth":"80px","width":"80px"},"title":lang.active}, {"name":"action","filterable": false,"sortable": false,"style":{"text-align":"right","maxWidth":"240px","width":"240px"},"type":"html","title":lang.action,"breakpoints":"xs sm"}