Skip to content

Commit e51f0f0

Browse files
committed
[IMP] mail: preventing line break in systray activity
Before this commit: In systray activity, for some languages, when there were few activities (exceeded a certain length of text), it would break the line to display the labels. After this commit: Now, to maintain the design integrity, the text has been truncated to visually display the labels like "aujourd'hu.." and maintain the design consistency. Task-3869856 closes odoo#162339 X-original-commit: 162a82b Signed-off-by: Thibault Delavallee (tde) <[email protected]> Signed-off-by: Aashish Thakur (aath) <[email protected]>
1 parent 5f3d13d commit e51f0f0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

addons/mail/static/src/core/web/activity_menu.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@
2020
<div class="flex-grow-1 overflow-hidden">
2121
<div class="d-flex px-2" name="activityTitle" t-out="group.name"/>
2222
<div t-if="group.type === 'activity'" class="d-flex">
23-
<span t-attf-class="#{group.overdue_count ? '' : 'text-muted'} py-0 px-2">
23+
<span t-attf-class="#{group.overdue_count ? '' : 'text-muted'} py-0 px-2 text-truncate">
2424
<t t-out="group.overdue_count"/> Late
2525
</span>
26-
<span t-attf-class="#{group.today_count ? '' : 'text-muted'} py-0 px-2">
26+
<span t-attf-class="#{group.today_count ? '' : 'text-muted'} py-0 px-2 text-truncate">
2727
<t t-out="group.today_count"/> Today
2828
</span>
2929
<span class="flex-grow-1"/>
30-
<span t-attf-class="#{group.planned_count ? '' : 'text-muted'} py-0 px-2">
30+
<span t-attf-class="#{group.planned_count ? '' : 'text-muted'} py-0 px-2 text-truncate">
3131
<t t-out="group.planned_count"/> Future
3232
</span>
3333
</div>

0 commit comments

Comments
 (0)