From 9529b7a542d31e0db56e26408a38bd1a2db40d49 Mon Sep 17 00:00:00 2001 From: andryyy Date: Sun, 5 May 2019 20:44:29 +0200 Subject: [PATCH] [Web] Various UI fixes --- data/web/css/site/mailbox.css | 2 +- data/web/js/site/mailbox.js | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 34 insertions(+), 1 deletion(-) diff --git a/data/web/css/site/mailbox.css b/data/web/css/site/mailbox.css index 80ff063b..61b6cfcf 100644 --- a/data/web/css/site/mailbox.css +++ b/data/web/css/site/mailbox.css @@ -9,7 +9,7 @@ table.footable>tbody>tr.footable-empty>td { overflow: visible !important; } .table-responsive { - overflow: auto !important; + overflow: inherit !important; } @media screen and (max-width: 767px) { .table-responsive { diff --git a/data/web/js/site/mailbox.js b/data/web/js/site/mailbox.js index 42b948a0..0f966eb3 100644 --- a/data/web/js/site/mailbox.js +++ b/data/web/js/site/mailbox.js @@ -299,6 +299,9 @@ jQuery(function($){ "on": { "ready.ft.table": function(e, ft){ table_mailbox_ready(ft, 'domain_table'); + }, + "after.ft.filtering": function(e, ft){ + table_mailbox_ready(ft, 'domain_table'); } } }); @@ -412,6 +415,9 @@ jQuery(function($){ "on": { "ready.ft.table": function(e, ft){ table_mailbox_ready(ft, 'mailbox_table'); + }, + "after.ft.filtering": function(e, ft){ + table_mailbox_ready(ft, 'mailbox_table'); } } }); @@ -477,6 +483,9 @@ jQuery(function($){ "on": { "ready.ft.table": function(e, ft){ table_mailbox_ready(ft, 'resource_table'); + }, + "after.ft.filtering": function(e, ft){ + table_mailbox_ready(ft, 'resource_table'); } } }); @@ -539,6 +548,9 @@ jQuery(function($){ "on": { "ready.ft.table": function(e, ft){ table_mailbox_ready(ft, 'bcc_table'); + }, + "after.ft.filtering": function(e, ft){ + table_mailbox_ready(ft, 'bcc_table'); } } }); @@ -596,6 +608,9 @@ jQuery(function($){ "on": { "ready.ft.table": function(e, ft){ table_mailbox_ready(ft, 'recipient_map_table'); + }, + "after.ft.filtering": function(e, ft){ + table_mailbox_ready(ft, 'recipient_map_table'); } } }); @@ -659,6 +674,9 @@ jQuery(function($){ "on": { "ready.ft.table": function(e, ft){ table_mailbox_ready(ft, 'tls_policy_table'); + }, + "after.ft.filtering": function(e, ft){ + table_mailbox_ready(ft, 'tls_policy_table'); } } }); @@ -720,6 +738,9 @@ jQuery(function($){ "on": { "ready.ft.table": function(e, ft){ table_mailbox_ready(ft, 'transport_maps_table'); + }, + "after.ft.filtering": function(e, ft){ + table_mailbox_ready(ft, 'transport_maps_table'); } } }); @@ -810,6 +831,9 @@ jQuery(function($){ "on": { "ready.ft.table": function(e, ft){ table_mailbox_ready(ft, 'alias_table'); + }, + "after.ft.filtering": function(e, ft){ + table_mailbox_ready(ft, 'alias_table'); } } }); @@ -864,6 +888,9 @@ jQuery(function($){ "on": { "ready.ft.table": function(e, ft){ table_mailbox_ready(ft, 'aliasdomain_table'); + }, + "after.ft.filtering": function(e, ft){ + table_mailbox_ready(ft, 'aliasdomain_table'); } } }); @@ -939,6 +966,9 @@ jQuery(function($){ "on": { "ready.ft.table": function(e, ft){ table_mailbox_ready(ft, 'sync_job_table'); + }, + "after.ft.filtering": function(e, ft){ + table_mailbox_ready(ft, 'sync_job_table'); } } }); @@ -1002,6 +1032,9 @@ jQuery(function($){ "on": { "ready.ft.table": function(e, ft){ table_mailbox_ready(ft, 'filter_table'); + }, + "after.ft.filtering": function(e, ft){ + table_mailbox_ready(ft, 'filter_table'); } } });