summaryrefslogtreecommitdiff
path: root/addons/mail/static
diff options
context:
space:
mode:
authorstd-odoo <std@odoo.com>2021-01-18 12:23:13 +0000
committerstd-odoo <std@odoo.com>2021-01-25 10:45:30 +0000
commit72f7acded30cd49c210faefbec195e7b6d13dacb (patch)
tree7e3f3f45b44cc1e79b8f44047f94e62173d8e7b8 /addons/mail/static
parent48ec6f2e4f91e4d1317b246b7017f78746161450 (diff)
[FIX] mail: fix the position of the emoji widget in mobile
Bug === Since 569d35bc2dd3f2071c084e81331af0afad981202 a fix have been provided to fix the vertical position of the emoji widget in mobile view. But the fix have been done in a wrong way and we should use the Odoo CSS class instead to detect mobile (and not a bootstrap media query). Task 2253851 closes odoo/odoo#64689 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
Diffstat (limited to 'addons/mail/static')
-rw-r--r--addons/mail/static/src/scss/emojis.scss8
1 files changed, 2 insertions, 6 deletions
diff --git a/addons/mail/static/src/scss/emojis.scss b/addons/mail/static/src/scss/emojis.scss
index f85c0141565..b2cb71a496d 100644
--- a/addons/mail/static/src/scss/emojis.scss
+++ b/addons/mail/static/src/scss/emojis.scss
@@ -54,17 +54,13 @@ $o-mail-emoji-height: 2rem;
bottom: 40px;
}
-@include media-breakpoint-down(sm) {
- // This will fix the position issue for emoji widget on mobile screen.
+
+.o_xxs_form_view {
.o_mail_emojis_dropdown {
bottom: 50px;
}
- .o_mail_emojis_dropdown_textarea {
- bottom: 40px;
- }
.o_mail_add_emoji {
.dropdown-menu {
- // This will fix the overflow issue for emoji dropdown on mobile screen by setting a max-width.
max-width: 320px;
}
}