[FIX] pos_self_order: categories display

Fixes the display of categories in the self-order UI.

closes odoo/odoo#140095

Task-id: 3572141
Signed-off-by: Joseph Caburnay (jcb) <jcb@odoo.com>
This commit is contained in:
Theo VINCENT (thvi)
2023-10-30 13:55:58 +00:00
parent a97cb5ae11
commit 1627d929f5
2 changed files with 6 additions and 2 deletions
@@ -1,6 +1,6 @@
.navbar-container {
.category-item, .search-button {
min-width: calc(3.5rem + 2vw);
width: calc(3.5rem + 2vw);
}
.category-item {
@@ -16,5 +16,9 @@
border-radius: 0.25rem;
}
}
.category-name {
word-break: break-all;
}
}
}
@@ -24,7 +24,7 @@
loading="lazy"
onerror="this.remove()" />
</div>
<small class="d-block fw-bold text-center" t-esc="category.name"/>
<small class="d-block fw-bold text-center category-name" t-esc="category.name"/>
</a>
</nav>