From 87cb5f8e9d22749ed4822a4b5f8a6cf0774c9344 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrien=20Dieudonn=C3=A9?= Date: Wed, 4 Jan 2023 09:56:21 +0000 Subject: [PATCH] [IMP] web: remove autocomplete scss dead code Autocomplete is not used on mobile since we open the kanban view in a modal for all x2many fields. This code was copied from enterprise to have the responsiveness in community. Related PR: https://github.com/odoo/enterprise/pull/28946 closes odoo/odoo#109050 Related: odoo/enterprise#28946 Signed-off-by: Romain Estievenart (res) --- addons/web/static/src/views/form/form_controller.scss | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/addons/web/static/src/views/form/form_controller.scss b/addons/web/static/src/views/form/form_controller.scss index 202471a5e4a..556ea325554 100644 --- a/addons/web/static/src/views/form/form_controller.scss +++ b/addons/web/static/src/views/form/form_controller.scss @@ -1183,17 +1183,6 @@ } } -@include media-breakpoint-down(md) { - // change the dropdown ui for mobile website - .ui-autocomplete.ui-front.ui-menu.ui-widget.ui-widget-content { - width: 100% !important; - height: 80%; - max-height: fit-content; - left: 0 !important; - overflow-y: auto; - } -} - .o_field_section_and_note_one2many ~ .row.o_group { clear: both; justify-content: space-between;