diff options
| author | Hetal Dhanak <hdh@odoo.com> | 2019-06-24 07:29:37 +0000 |
|---|---|---|
| committer | Hetal Dhanak <hdh@odoo.com> | 2019-06-26 13:40:42 +0000 |
| commit | 2512dcdd0a6cd60367640f46914df1984c0bff51 (patch) | |
| tree | 2bfad98725b9191e7fe8012ae13e9663f393f74e /addons/web/static/src | |
| parent | 87e3e840ac97991724b914fdfabf6bf6d9f35534 (diff) | |
[FIX] web: many2many tag doesn't show delete icon when long text
Before this commit, sometimes it was difficult to delete many2many
tag because of X sign not being displayed due to long text of tag.
After this commit, if text is long then it will have ellipsis and
we will always have X icon to delete tag.
task-1986017
closes odoo/odoo#34316
Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
Diffstat (limited to 'addons/web/static/src')
| -rw-r--r-- | addons/web/static/src/scss/fields.scss | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/addons/web/static/src/scss/fields.scss b/addons/web/static/src/scss/fields.scss index 55559546e74..120896dceee 100644 --- a/addons/web/static/src/scss/fields.scss +++ b/addons/web/static/src/scss/fields.scss @@ -88,6 +88,7 @@ &.o_field_many2manytags { flex-flow: row wrap; align-items: baseline; + max-width: 100%; > .o_field_widget { flex: 1 0 100px; @@ -101,6 +102,8 @@ font-size: 12px; cursor: pointer; user-select: none; + display: flex; + max-width: 100%; a { color: inherit; @@ -115,6 +118,7 @@ .o_delete { color: inherit; cursor: pointer; + padding-left: 4px; } } |
