From f4784f4922bc5fa4ece2d50c7c6f31fa64e80688 Mon Sep 17 00:00:00 2001 From: Daniel Maya Date: Tue, 31 May 2022 17:09:15 +0200 Subject: [PATCH] #9031 Fixed css filter --- pandora_console/include/styles/events.css | 29 ++++++++++++++++++++- pandora_console/operation/events/events.php | 20 ++++++-------- 2 files changed, 36 insertions(+), 13 deletions(-) diff --git a/pandora_console/include/styles/events.css b/pandora_console/include/styles/events.css index 4b8177b2af..e3fa37529e 100644 --- a/pandora_console/include/styles/events.css +++ b/pandora_console/include/styles/events.css @@ -33,7 +33,6 @@ form.flex-row ul { display: flex; flex-direction: row; align-items: center; - flex-wrap: wrap; align-content: center; justify-content: space-between; flex: 1; @@ -316,3 +315,31 @@ div.multi-response-buttons { .event_detail_tab_menu li { max-width: 160px; } + +.select_tags { + width: 200px; +} + +@media screen and (max-width: 1400px) { + .select_tags { + width: 165px; + } +} + +@media screen and (max-width: 1250px) { + .select_tags { + width: 125px; + } +} + +@media screen and (max-width: 1100px) { + .select_tags { + width: 100px; + } + + form.flex-row div.filter_input.large { + flex: 1; + min-width: 600px; + max-width: 100%; + } +} diff --git a/pandora_console/operation/events/events.php b/pandora_console/operation/events/events.php index 5f3a733318..e1e3d2491b 100644 --- a/pandora_console/operation/events/events.php +++ b/pandora_console/operation/events/events.php @@ -611,9 +611,8 @@ $data[0] = html_print_select( true, true, true, - '', - false, - 'width: 200px;' + 'select_tags', + false ); $data[1] = html_print_image( @@ -654,9 +653,8 @@ $data[2] = html_print_select( true, true, true, - '', - false, - 'width: 200px;' + 'select_tags', + false ); $tabletags_with->data[] = $data; @@ -688,9 +686,8 @@ $data[0] = html_print_select( true, true, true, - '', - false, - 'width: 200px;' + 'select_tags', + false ); $data[1] = html_print_image( 'images/darrowright.png', @@ -727,9 +724,8 @@ $data[2] = html_print_select( true, true, true, - '', - false, - 'width: 200px;' + 'select_tags', + false ); $tabletags_without->data[] = $data; $tabletags_without->rowclass[] = '';