From c90bf3f703bdcef6b7b128b2b581a067a6d008ef Mon Sep 17 00:00:00 2001 From: Kevin Baptiste Date: Wed, 9 Dec 2020 08:15:25 +0100 Subject: [PATCH] [FIX] web: do not overlap calendar popover The content of the popover was overflowing on the button if they were too many elements. It will now display a scrollbar when needed. TaskID: 2367543 --- addons/web/static/src/scss/web_calendar.scss | 2 ++ 1 file changed, 2 insertions(+) diff --git a/addons/web/static/src/scss/web_calendar.scss b/addons/web/static/src/scss/web_calendar.scss index f12fc40726c..9c429491cd7 100644 --- a/addons/web/static/src/scss/web_calendar.scss +++ b/addons/web/static/src/scss/web_calendar.scss @@ -687,6 +687,8 @@ $o-cw-filter-avatar-size: 20px; .o_cw_popover_fields_secondary { max-height: 170px; // Fallback for old browsers max-height: 25vh; + overflow: auto; + padding-bottom: 1px; // prevents the scrollbar to show when not needed &::-webkit-scrollbar { background: gray('200');