From 0a06ddfeca57249ff703980e837357192ef92f8b Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Fri, 16 Sep 2022 15:57:30 +0200 Subject: [PATCH] Fix quick add selectbox gets scrollbar --- pixelegg/css/pixelegg.css | 3 +++ pixelegg/less/layout_raster_buttons.less | 3 +++ 2 files changed, 6 insertions(+) diff --git a/pixelegg/css/pixelegg.css b/pixelegg/css/pixelegg.css index 21c774e0db..2b9fcdcbfb 100644 --- a/pixelegg/css/pixelegg.css +++ b/pixelegg/css/pixelegg.css @@ -5523,6 +5523,9 @@ span.overlayContainer img.overlay { #egw_fw_topmenu_info_items #topmenu_info_quick_add #quick_add_selectbox::part(form-control) { margin-left: -3em; } +#egw_fw_topmenu_info_items #topmenu_info_quick_add #quick_add_selectbox::part(menu) { + max-height: 60vh; +} #egw_fw_topmenu_info_items img#topmenu_info_error { width: 16px; height: 16px; diff --git a/pixelegg/less/layout_raster_buttons.less b/pixelegg/less/layout_raster_buttons.less index c336cf4502..b5b7d4883c 100644 --- a/pixelegg/less/layout_raster_buttons.less +++ b/pixelegg/less/layout_raster_buttons.less @@ -293,6 +293,9 @@ #quick_add_selectbox::part(form-control) { margin-left: -3em; } + #quick_add_selectbox::part(menu) { + max-height: 60vh; + } } // ##############################################################################