Skip to content
Snippets Groups Projects
Commit 44def208 authored by qsm-odoo's avatar qsm-odoo
Browse files

[FIX] web: allow kanban tags without color field

parent 2f07bbca
No related branches found
No related tags found
No related merge requests found
......@@ -24,8 +24,9 @@
cursor: pointer;
.o-hover-opacity(@base-opacity);
}
.o-kanban-tag-color(@size: 1) when (@size < @odoo-nb-ui-color) {
// Note: the 0 color is not defined as it is the 'no color' for kanban
.o-kanban-tag-color(@size: 0) when (@size < @odoo-nb-ui-color) {
// Note: the 0 color is supposed to be invisible if there is a color field
// but it is used as a default color when there is no color field
&.o_tag_color_@{size} span {
background-color: ~"@{odoo-color-@{size}}";
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment