From 4d22932c7f105b3b5c1aafe702cccd2e9e6293ee Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Wed, 25 Sep 2019 13:15:01 +0200 Subject: [PATCH] fix for Chrome 76+ on Windows (clicking addressbook filters makes them jumpt down) --- addressbook/templates/default/app.css | 15 +++++++++++++-- addressbook/templates/pixelegg/app.css | 17 ++++++++++++++++- 2 files changed, 29 insertions(+), 3 deletions(-) diff --git a/addressbook/templates/default/app.css b/addressbook/templates/default/app.css index 754418fb69..74dbfa1a66 100644 --- a/addressbook/templates/default/app.css +++ b/addressbook/templates/default/app.css @@ -109,9 +109,20 @@ div.city_state_postcode #addressbook-edit_adr_one_postalcode {margin-right: 5px .addressbookHooked .egwGridView_grid label>span.et2_link { display: none; } -#addressbook-index .filtersContainer select { - max-width: 31.5% !important; +/** + * adjust width of select-boxes in nextmatch + */ +#addressbook-index .filtersContainer { + position: absolute; + top: 0; /* Required for Chrome 76+ on Windows */ + left: 342px; + right: 215px; } +#addressbook-index .filtersContainer select { + width: 31.5%; +} +/* category filter chosen. !important is neccessary to override the width set by chosen*/ +#addressbook-index .nextmatch_header_row .et2_selectbox.select-cat {min-width:auto;width: 31.5% !important;} select#addressbook-index_col_filter\[tid\] { width: 100px; } diff --git a/addressbook/templates/pixelegg/app.css b/addressbook/templates/pixelegg/app.css index 12d5ac6a4d..9e64ca680b 100755 --- a/addressbook/templates/pixelegg/app.css +++ b/addressbook/templates/pixelegg/app.css @@ -129,8 +129,23 @@ div.city_state_postcode #addressbook-edit_adr_one_postalcode { .addressbookHooked .egwGridView_grid label > span.et2_link { display: none; } +/** + * adjust width of select-boxes in nextmatch + */ +#addressbook-index .filtersContainer { + position: absolute; + top: 0; + /* Required for Chrome 76+ on Windows */ + left: 342px; + right: 215px; +} #addressbook-index .filtersContainer select { - max-width: 31.5% !important; + width: 31.5%; +} +/* category filter chosen. !important is neccessary to override the width set by chosen*/ +#addressbook-index .nextmatch_header_row .et2_selectbox.select-cat { + min-width: auto; + width: 31.5% !important; } select#addressbook-index_col_filter\[tid\] { width: 100px;