Skip to content

Commit 5d7f965

Browse files
pilarvargas-tecnativakobros-tech
authored andcommitted
[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
1 parent 3b97697 commit 5d7f965

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

web_responsive/static/src/legacy/scss/web_responsive.scss

+9-5
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,17 @@ $chatter_zone_width: 35% !important;
2323
align-items: center;
2424
height: 35px;
2525
}
26-
.o_calendar_widget {
27-
.fc-dayGridMonth-view {
28-
.fc-week-number {
29-
display: none;
26+
.o_calendar_view .o_calendar_widget {
27+
.fc-timeGridDay-view .fc-axis,
28+
.fc-timeGridWeek-view .fc-axis {
29+
padding-left: 0px;
30+
}
31+
.fc-dayGridYear-view {
32+
padding-left: 0px;
33+
> .fc-month-container {
34+
width: 95%;
3035
}
3136
}
32-
3337
.fc-timeGridDay-view {
3438
.fc-day-header {
3539
vertical-align: middle;

0 commit comments

Comments
 (0)