From e1f2e72384451413f77cc7033ab205681a9cd868 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A9ry=20Debongnie?= <ged@odoo.com> Date: Fri, 8 Jun 2018 10:23:51 +0200 Subject: [PATCH] [FIX] web: properly apply css in mobile search view In some cases, if the device is in a mobile mode, but does not support touch, then the mobile search view is shown, as expected, but the css is not applied. Maybe this is not a big deal in practice, since the only way to notice this is to use odoo on a browser with a small window and no touch emulation, but this is still annoying and wrong: if the mobile search view is displayed, the its css should be applied in all cases. We simply fix the css rule to make it work like expected. --- addons/web/static/src/scss/search_view_mobile.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/web/static/src/scss/search_view_mobile.scss b/addons/web/static/src/scss/search_view_mobile.scss index 2f0a3c3fc90f..c36f5d398504 100644 --- a/addons/web/static/src/scss/search_view_mobile.scss +++ b/addons/web/static/src/scss/search_view_mobile.scss @@ -1,4 +1,4 @@ -.o_web_client.o_touch_device { +.o_web_client { .o_mobile_search { position: fixed; top: 0; -- GitLab