From 3fd49092fa0887ad933c0c1ce8db62c06fc924ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Tue, 20 Oct 2020 08:36:42 +0200 Subject: [PATCH] style: make select2 widgets respect grid (#37679) --- gadjo/static/css/_grid.scss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gadjo/static/css/_grid.scss b/gadjo/static/css/_grid.scss index df4684d..5a933e9 100644 --- a/gadjo/static/css/_grid.scss +++ b/gadjo/static/css/_grid.scss @@ -38,6 +38,10 @@ div.grid { table, textarea, select, input[type=text], input[type=password], input[type=email] { width: 100%; } + .select2-container { + min-width: auto; + width: 100% !important; + } } body div + div.grid-#{$j}-#{$i}, /* more specific than & + div above*/ div div.grid-#{$j}-#{$i} {