From 0d46c0b91dd5a73143a8744bd3559a7a1ea5f33a Mon Sep 17 00:00:00 2001 From: Martin Geubelle Date: Tue, 10 Apr 2018 17:21:52 +0200 Subject: [PATCH] [FIX] web: correctly position carret in list In list view, the carret was not correctly positioned in empty cells (i.e. handle widget in readonly). This rev. ensures that the position rules are only applied if the cell is not empty. Fixes #23984 --- addons/web/static/src/less/list_view.less | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/addons/web/static/src/less/list_view.less b/addons/web/static/src/less/list_view.less index 0948b566e62..874e809071b 100644 --- a/addons/web/static/src/less/list_view.less +++ b/addons/web/static/src/less/list_view.less @@ -37,12 +37,14 @@ .user-select(none); // Prevent unwanted selection while sorting &::after { - margin-left: 6px; - position: absolute; font-family: FontAwesome; content: "\f0d7"; opacity: 0; } + &:not(:empty)::after { + margin-left: 6px; + position: absolute; + } &.o-sort-up { cursor: n-resize; &::after {