From 104a86f1c8adfce291c9a35c3288f754cdb34545 Mon Sep 17 00:00:00 2001 From: Aaron Bohy Date: Thu, 19 Sep 2019 12:47:01 +0000 Subject: [PATCH] [FIX] web: limit autocomplete dropdowns width When the content of an autocomplete dropdown (e.g. many2one field) was long, the dropdown could overflow the page. For instance, this was the case of the intrastat_id many2one. Task 2068261 --- addons/web/static/src/scss/ui.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/web/static/src/scss/ui.scss b/addons/web/static/src/scss/ui.scss index 5a46c9c01a8..3a2551b2f96 100644 --- a/addons/web/static/src/scss/ui.scss +++ b/addons/web/static/src/scss/ui.scss @@ -8,6 +8,7 @@ .ui-autocomplete { z-index: $zindex-modal + 1; + max-width: 600px; } [aria-hidden="true"], [aria-hidden="1"] {