summaryrefslogtreecommitdiff
path: root/addons
diff options
context:
space:
mode:
authorMohammed Shekha <msh@odoo.com>2021-01-12 10:32:13 +0000
committerMohammed Shekha <msh@odoo.com>2021-02-12 12:21:33 +0000
commitf1f0e7922fb86e45c62434d8d784585a6539bc32 (patch)
tree72bd95c6d37affa774829e86bc1b1324df18b564 /addons
parent7579787c101923d450217cd167f50b9fcf21c690 (diff)
[IMP] web: fix UI glitch on image widget when too smal image
with this commit, we fixes UI glitch on image widget when image is too small, when hovering over too small image Edit and Delete icon will ne displayed but it is displayed with glitch, so to avoid that glitch we added min-width to icons div. task-2376452 closes odoo/odoo#66060 X-original-commit: 7aaad8480dde97b2d04b4148e4e54beb57b7f141 Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
Diffstat (limited to 'addons')
-rw-r--r--addons/web/static/src/scss/fields.scss1
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/web/static/src/scss/fields.scss b/addons/web/static/src/scss/fields.scss
index 70436149d23..ce995cf2a85 100644
--- a/addons/web/static/src/scss/fields.scss
+++ b/addons/web/static/src/scss/fields.scss
@@ -392,6 +392,7 @@
background-color: $o-brand-primary;
opacity: 0;
transition: opacity ease 400ms;
+ min-width: 35px;
> button.fa {
border: none;