From be375bb2a886edd002f042355455a71fcac4daf5 Mon Sep 17 00:00:00 2001 From: Benjamin Vray Date: Thu, 15 Sep 2022 13:07:19 +0000 Subject: [PATCH] [IMP] web_editor: fix images and icons animations on mobile Due to the 'transform: none' applied on images and icons on mobile, some animations do not work in mobile. This commit makes an exception to this rule for animated images/icons. task-2984828 closes odoo/odoo#102713 X-original-commit: 78098b3db96e796ae6a09bd0f4bec1eb0c384d28 Signed-off-by: Quentin Smetz (qsm) --- addons/web_editor/static/src/scss/web_editor.frontend.scss | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/addons/web_editor/static/src/scss/web_editor.frontend.scss b/addons/web_editor/static/src/scss/web_editor.frontend.scss index 6470da92f9a..4568e4bf01c 100644 --- a/addons/web_editor/static/src/scss/web_editor.frontend.scss +++ b/addons/web_editor/static/src/scss/web_editor.frontend.scss @@ -1,6 +1,8 @@ @include media-breakpoint-down(md) { img, .media_iframe_video, span.fa, i.fa { - transform: none !important; + &:not(.o_animate) { + transform: none !important; + } } }