summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHardik Prajapati <hap@odoo.com>2020-10-15 13:38:53 +0000
committerBarad Mahendra <mba@openerp.com>2020-11-17 19:02:08 +0000
commit4fb88842f7142a4a8d1ba118b0d5d28d207e1dda (patch)
tree70c59886278d2e074fa4953f4abbc05211e8ea48
parentda8bb3238d55811658f40471b5d91b1ecad95ddc (diff)
[FIX] web: Fix the height of svg when signature is empty
Currently, in the user setting, hovering on the live chat input will focus on the signature div due to long height of the empty svg. So in this commit fixes the issue by adding the css property in the svg element of signature widget due to that svg element contains the proper width and height. closes odoo/odoo#61896 Taskid: 2361880 X-original-commit: 6fe2a0b8b6f8dadb2eb7008019f2d7266dcf6fb1 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
-rw-r--r--addons/web/static/src/scss/name_and_signature.scss3
1 files changed, 3 insertions, 0 deletions
diff --git a/addons/web/static/src/scss/name_and_signature.scss b/addons/web/static/src/scss/name_and_signature.scss
index 63296bf0855..48ee85c2d91 100644
--- a/addons/web/static/src/scss/name_and_signature.scss
+++ b/addons/web/static/src/scss/name_and_signature.scss
@@ -26,6 +26,9 @@
.o_signature {
outline: 1px solid rgba(theme-color('secondary'), 0.3);
position: relative;
+ &.o_signature_empty {
+ display: flex;
+ }
> p {
position: absolute;
top: 50%;