[FIX] web: missing kanban column title on mobile

X-original-commit: c3ff92dabb6ba479876c91e0f19cd94cf5830510
Part-of: odoo/odoo#122111
This commit is contained in:
Damien Bouvy
2023-05-23 22:32:44 +02:00
parent d99ad6ec01
commit e9e1eb6e92
@@ -4,11 +4,11 @@
<t t-name="web.KanbanHeader" owl="1">
<div class="o_kanban_header position-sticky top-0 z-index-1" t-ref="root" t-attf-class="{{ !env.isSmall and group.isFolded ? 'pt-2' : 'py-3' }}">
<div class="o_kanban_header_title position-relative d-flex lh-lg" t-on-mouseenter="onTitleMouseEnter" t-on-mouseleave="onTitleMouseLeave">
<div t-if="!env.isSmall and group.isFolded" class="o_column_title d-flex align-items-center pt-1 fs-4 lh-1 text-nowrap opacity-50 opacity-100-hover">
<div t-if="group.isFolded" class="o_column_title d-flex align-items-center pt-1 fs-4 lh-1 text-nowrap opacity-50 opacity-100-hover flex-grow-1">
<t t-esc="groupName"></t>
<span class="badge text-bg-500 rounded-pill lh-1 ms-2" t-esc="group.count"></span>
</div>
<span t-if="!env.isSmall and !group.isFolded"
<span t-if="!group.isFolded"
t-esc="groupName"
class="o_column_title flex-grow-1 d-inline-block mw-100 text-truncate fs-4 fw-bold align-top text-900"
/>