summaryrefslogtreecommitdiff
path: root/addons/web/static/src/scss
diff options
context:
space:
mode:
authorAndrea Grazioso (agr-odoo) <agr@odoo.com>2021-01-20 15:37:26 +0000
committerAndrea Grazioso (agr-odoo) <agr@odoo.com>2021-01-22 09:05:19 +0000
commite539636791244c8005feee19d80315d5b616e50d (patch)
tree7897c7263b6b111dc8e1501e0959e494579951c7 /addons/web/static/src/scss
parent6e87ee09e35f2e19426b59f40a46b1aa22375ec6 (diff)
[FIX] web: disallow event popup y-overflow in calendar view
Go to calendar Have an event with a long description In day/week/month view click the event to see the event popup The description will overflow the length of the popup opw-2421554 closes odoo/odoo#64817 Signed-off-by: agr-odoo <agr-odoo@users.noreply.github.com>
Diffstat (limited to 'addons/web/static/src/scss')
-rw-r--r--addons/web/static/src/scss/web_calendar.scss2
1 files changed, 2 insertions, 0 deletions
diff --git a/addons/web/static/src/scss/web_calendar.scss b/addons/web/static/src/scss/web_calendar.scss
index 8df6206cef1..e256e575812 100644
--- a/addons/web/static/src/scss/web_calendar.scss
+++ b/addons/web/static/src/scss/web_calendar.scss
@@ -677,6 +677,8 @@ $o-cw-filter-avatar-size: 20px;
.o_cw_popover_fields_secondary {
max-height: 170px; // Fallback for old browsers
max-height: 25vh;
+ overflow-y: auto;
+ padding-bottom: 1px; // prevents the scrollbar to show when not needed
&::-webkit-scrollbar {
background: gray('200');