[FIX] mail: improve follower menu vertical spacing
The "Add Followers" button felt too close to top of menu, and the last item was to close to bottom of menu. closes odoo/odoo#127857 X-original-commit: 1c28eab0142d5011d109955977ab99d5091f989b Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
This commit is contained in:
@@ -32,7 +32,7 @@
|
||||
</t>
|
||||
</FileUploader>
|
||||
<t t-else="" t-call="mail.Chatter.attachFiles"/>
|
||||
<Dropdown t-if="props.hasFollowers" position="'bottom-end'" disabled="isDisabled" class="'o-mail-Followers d-flex me-1'" menuClass="'o-mail-Followers-dropdown flex-column p-0'" menuDisplay="'d-flex'" title="followerButtonLabel" togglerClass="'o-mail-Followers-button btn btn-link text-action px-1 ' + (props.compactHeight ? '' : 'my-2')">
|
||||
<Dropdown t-if="props.hasFollowers" position="'bottom-end'" disabled="isDisabled" class="'o-mail-Followers d-flex me-1'" menuClass="'o-mail-Followers-dropdown flex-column px-0 py-1'" menuDisplay="'d-flex'" title="followerButtonLabel" togglerClass="'o-mail-Followers-button btn btn-link text-action px-1 ' + (props.compactHeight ? '' : 'my-2')">
|
||||
<t t-set-slot="toggler">
|
||||
<i class="fa fa-user-o" role="img"/>
|
||||
<span class="o-mail-Followers-counter ps-1" t-esc="state.thread.followers.size"/>
|
||||
|
||||
Reference in New Issue
Block a user