From 83af778f3aee7186ab9cab3ead9c1b54d8f90ae1 Mon Sep 17 00:00:00 2001 From: "Didier (did)" Date: Thu, 18 Jun 2020 09:44:59 +0000 Subject: [PATCH] [IMP] timeoff : reduce font size and avoid scroll bar in the calendar Before this commit the font-size for the days/hours left was too big. There is also a useless scroll bar for the calendar. Adjusting the CSS to remove the scroll bar. Task-2254820 closes odoo/odoo#52178 Signed-off-by: Yannick Tivisse (yti) --- .../hr_holidays/static/src/scss/time_off.scss | 20 ++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/addons/hr_holidays/static/src/scss/time_off.scss b/addons/hr_holidays/static/src/scss/time_off.scss index b32aae50df8..eb726b9d0eb 100644 --- a/addons/hr_holidays/static/src/scss/time_off.scss +++ b/addons/hr_holidays/static/src/scss/time_off.scss @@ -1,4 +1,22 @@ .o_content { + .o_timeoff_container { + height: 10%; + } + + .o_calendar_container { + height: 89.5%; + } + + @include media-breakpoint-down(sm) { + .o_timeoff_container { + height: 15%; + } + + .o_calendar_container { + height: 85%; + } + } + .o_timeoff_card { border-right: #adb5bd solid 2px; text-align: center; @@ -13,7 +31,7 @@ } .o_timeoff_big { - font-size: 50px; + font-size: 20px; } .o_timeoff_purple {