summaryrefslogtreecommitdiff
path: root/addons/web/static/src/less/list_view.less
diff options
context:
space:
mode:
authorAlexandre Kühn <alexkuhn@users.noreply.github.com>2018-01-03 11:42:39 +0100
committerGitHub <noreply@github.com>2018-01-03 11:42:39 +0100
commit8bc7cebd9c19ae8f77378d115a8401d7b7de56b0 (patch)
tree4cc13e4a51b11e1da1f30996cab01d3d6876a451 /addons/web/static/src/less/list_view.less
parentc8fa2d581caa13e881188552e6e2e22f8e858f7f (diff)
[IMP] web: many2many editable list with X remove icon (#20978)
In many2many lists, the remove record from the widget is a trash bin. It is confusing, as people feel they are deleting it when they are only unlinking it. So in many2many, we propose to change the trash icon by a 'X'. This icon appears in many2many relations and in many2many widgets: even though hr.expense.sheet defines the expense lines as a one2many, it uses a many2many widget, so we use a 'X' instead of the trash bin. To avoid ambiguity, we decided to rename 'delete' to 'remove'.
Diffstat (limited to 'addons/web/static/src/less/list_view.less')
-rw-r--r--addons/web/static/src/less/list_view.less2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web/static/src/less/list_view.less b/addons/web/static/src/less/list_view.less
index 395bf633e45..98a1d56fac0 100644
--- a/addons/web/static/src/less/list_view.less
+++ b/addons/web/static/src/less/list_view.less
@@ -66,7 +66,7 @@
}
}
- .o_list_record_selector, .o_list_record_delete, .o_handle_cell {
+ .o_list_record_selector, .o_list_record_remove, .o_handle_cell {
width: 1px; // to prevent the column to expand
}