From c748cebc392d8742c59e5313cb7734aa05f99bd1 Mon Sep 17 00:00:00 2001 From: pilarvargas-tecnativa Date: Fri, 31 Jan 2025 17:57:04 +0100 Subject: [PATCH] [IMP] web_responsive: Remove unnecessary calendar optimisation Removed the optimisation of hiding the week number at a certain size for consistency with the responsive design of Odoo enterprise. It is a non-functional optimisation as it hides useful information that hardly takes up any space. It also causes incompatibilities in the design with extensions that do not take into account these specific changes. TT54811 --- .../static/src/legacy/scss/web_responsive.scss | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/web_responsive/static/src/legacy/scss/web_responsive.scss b/web_responsive/static/src/legacy/scss/web_responsive.scss index 092faba20..1f429cdfe 100644 --- a/web_responsive/static/src/legacy/scss/web_responsive.scss +++ b/web_responsive/static/src/legacy/scss/web_responsive.scss @@ -23,13 +23,17 @@ $chatter_zone_width: 35% !important; align-items: center; height: 35px; } - .o_calendar_widget { - .fc-dayGridMonth-view { - .fc-week-number { - display: none; + .o_calendar_view .o_calendar_widget { + .fc-timeGridDay-view .fc-axis, + .fc-timeGridWeek-view .fc-axis { + padding-left: 0px; + } + .fc-dayGridYear-view { + padding-left: 0px; + > .fc-month-container { + width: 95%; } } - .fc-timeGridDay-view { .fc-day-header { vertical-align: middle;