[FIX] web: fix calendar buttons spacing
=== ISSUE === If you open the calendar module with an event with attendees, the status button showing if the user accepted the invitation or not is missing a left margin. === AFTER === We add a `ms-1` class to the buttons to space them correctly. task-3389679 part of task-3326263 closes odoo/odoo#127976 X-original-commit: 86595f718ec5824d53f49ae7495677dd31551d57 Signed-off-by: Pierre Paridans (app) <app@odoo.com>
This commit is contained in:
+1
-1
@@ -15,7 +15,7 @@
|
||||
<xpath expr="//t[@t-if='isEventDeletable']" position="after">
|
||||
<a t-if="isEventArchivable and isEventDetailsVisible" href="#" class="btn btn-secondary o_cw_popover_archive_g" t-on-click="onClickArchive">Delete</a>
|
||||
<div t-if="displayAttendeeAnswerChoice" class="d-inline-block">
|
||||
<Dropdown togglerClass="'btn btn-secondary'">
|
||||
<Dropdown togglerClass="'btn btn-secondary ms-1'">
|
||||
<t t-set-slot="toggler">
|
||||
<i t-attf-class="fa fa-circle o-calendar-attendee-status-icon #{selectedStatusInfo.color}"/> <span class="o-calendar-attendee-status-text" t-esc="selectedStatusInfo.text"></span>
|
||||
</t>
|
||||
|
||||
@@ -74,7 +74,7 @@
|
||||
<a href="#" class="btn btn-primary o_cw_popover_edit" t-on-click="onEditEvent">Edit</a>
|
||||
</t>
|
||||
<t t-if="isEventDeletable">
|
||||
<a href="#" class="btn btn-secondary o_cw_popover_delete ms-2" t-on-click="onDeleteEvent">Delete</a>
|
||||
<a href="#" class="btn btn-secondary o_cw_popover_delete ms-1" t-on-click="onDeleteEvent">Delete</a>
|
||||
</t>
|
||||
</t>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user