Skip to content
Snippets Groups Projects
Commit 72f7acde authored by std-odoo's avatar std-odoo
Browse files

[FIX] mail: fix the position of the emoji widget in mobile


Bug
===
Since 569d35bc 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: default avatarThibault Delavallee (tde) <tde@openerp.com>
parent 48ec6f2e
Branches
Tags
No related merge requests found
......@@ -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;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment