Skip to content

Commit 27b0568

Browse files
committed
[FIX] mail: bigger buttons in discuss call meeting view
Buttons has same size as other discuss actions, which are sized for dense UI like discuss app with message list and composer + panels. In meeting view, the UI is essentially streams / avatar cards. Buttons below need to be sized accordingly, i.e. bigger, which this commit does. Part of Task-5190261 closes odoo#233331 X-original-commit: b139329 Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
1 parent 7b75ed8 commit 27b0568

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

addons/mail/static/src/core/common/action_list.xml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,10 @@
5858
'rounded-circle': isComposerRoundedBtn or isThreadRoundedBtn,
5959
'rounded-start-3': !isComposerRoundedBtn and !isThreadRoundedBtn and !action.tags.includes('JOIN_LEAVE_CALL') and props.inline and props.isFirstInGroup,
6060
'rounded-end-3': !isComposerRoundedBtn and !isThreadRoundedBtn and !action.tags.includes('JOIN_LEAVE_CALL') and props.inline and props.isLastInGroup,
61-
'o-px-1_5 py-1': props.inline and (hasBtnBg and !action.tags.includes('JOIN_LEAVE_CALL')) or (!hasBtnBg and env.inComposer),
62-
'o-p-1_5 d-flex align-items-center': props.inline and hasBtnBg and action.tags.includes('JOIN_LEAVE_CALL') and !env.inChatWindow,
61+
'px-2 o-py-1_5': props.inline and env.inMeetingView and !env.inComposer,
62+
'o-px-1_5 py-1': props.inline and (hasBtnBg and !action.tags.includes('JOIN_LEAVE_CALL') and !env.inMeetingView) or (!hasBtnBg and env.inComposer),
63+
'd-flex align-items-center': props.inline and hasBtnBg and action.tags.includes('JOIN_LEAVE_CALL') and !env.inChatWindow,
64+
'o-p-1_5': props.inline and hasBtnBg and action.tags.includes('JOIN_LEAVE_CALL') and !env.inChatWindow and !env.inMeetingView,
6365
'p-1 d-flex align-items-center': props.inline and hasBtnBg and action.tags.includes('JOIN_LEAVE_CALL') and env.inChatWindow,
6466
'o-inline': props.inline,
6567
'o-p-0_5': props.inline and !hasBtnBg and !env.inComposer,

0 commit comments

Comments
 (0)