diff --git a/addons/hr_holidays/views/hr_leave_views.xml b/addons/hr_holidays/views/hr_leave_views.xml index 57dfb6d704b700108e216cfd156e38dc2f664340..7652e51e5b2c4696f0c7ff3c3a827dfd455b9154 100644 --- a/addons/hr_holidays/views/hr_leave_views.xml +++ b/addons/hr_holidays/views/hr_leave_views.xml @@ -361,7 +361,7 @@ <field name="name">hr.leave.view.dashboard</field> <field name="model">hr.leave</field> <field name="arch" type="xml"> - <calendar js_class="time_off_calendar" string="Time Off Request" form_view_id="%(hr_holidays.hr_leave_view_form_dashboard)d" event_open_popup="true" date_start="date_from" date_stop="date_to" mode="year" quick_add="False" show_unusual_days="True" color="holiday_status_id" hide_time="True"> + <calendar js_class="time_off_calendar" string="Time Off Request" form_view_id="%(hr_holidays.hr_leave_view_form_dashboard)d" event_open_popup="true" date_start="date_from" date_stop="date_to" mode="month" quick_add="False" show_unusual_days="True" color="holiday_status_id" hide_time="True"> <field name="display_name"/> <field name="holiday_status_id" filters="1" invisible="1"/> <field name="state" invisible="1"/> diff --git a/addons/web/static/src/scss/web_calendar.scss b/addons/web/static/src/scss/web_calendar.scss index 7530969de0cb47c7a32aa5b548a2a9a8548a8fcd..c847146a0695c2868c568bd7564f9fae9ea4083c 100644 --- a/addons/web/static/src/scss/web_calendar.scss +++ b/addons/web/static/src/scss/web_calendar.scss @@ -349,7 +349,6 @@ $o-cw-filter-avatar-size: 20px; .fc-dayGridYear-view { border: none; height: 100%; - padding-top: 1rem; padding-left: $o-horizontal-padding; box-sizing: border-box; display: flex; @@ -405,7 +404,7 @@ $o-cw-filter-avatar-size: 20px; } > .fc-toolbar.fc-header-toolbar { - margin-top: 10px; + padding-top: 10px; margin-bottom: 4px; cursor: default;