summaryrefslogtreecommitdiff
path: root/addons/web/static/src
diff options
context:
space:
mode:
authorNicolas Lempereur <nle@odoo.com>2019-01-30 19:54:47 +0000
committerNicolas Lempereur <nle@odoo.com>2019-01-31 09:01:44 +0000
commitc4d222677f4c5a34582d8d5b8b93d94ed873b5fa (patch)
treedbd1fc102b268ffcb1ccb495a8d4c2668016aa02 /addons/web/static/src
parent8897cb1feb7ff45de9a1a939a547908adb5b1911 (diff)
[FIX] web: click/studio work in colored kanban tile
When a colored kanban tile is colored, and there is a color attribute on the tile HTML element indicating a color field (eg. when a kanban view with color dropdown is created in studio), there was a HTML element over the whole tile preventing to click on links or other sub element of it. This HTML element is just a transparent used for accessibility to contain the tile color intelligible name, so this commit just size it over the area of the color (currently in base bootstrap ~3px at the left of the tile). opw-1932283 closes #30717
Diffstat (limited to 'addons/web/static/src')
-rw-r--r--addons/web/static/src/scss/kanban_view.scss4
1 files changed, 3 insertions, 1 deletions
diff --git a/addons/web/static/src/scss/kanban_view.scss b/addons/web/static/src/scss/kanban_view.scss
index c771d6a37ab..c4c0e9d011d 100644
--- a/addons/web/static/src/scss/kanban_view.scss
+++ b/addons/web/static/src/scss/kanban_view.scss
@@ -564,6 +564,8 @@
@include o-kanban-record-color;
.oe_kanban_color_help {
- @include o-position-absolute(0, 5px, 0, -1px);
+ @include o-position-absolute(0, auto, 0, -1px);
+ width: $o-kanban-color-border-width;
+ z-index: 1; // show the title over kanban color
}
}