Skip to content

Commit

Permalink
[FIX] web: correctly position carret in list
Browse files Browse the repository at this point in the history
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 odoo#23984
  • Loading branch information
mgeubelle committed Apr 11, 2018
1 parent b3ad32f commit 0d46c0b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions addons/web/static/src/less/list_view.less
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 0d46c0b

Please sign in to comment.