summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrédéric Péters <fpeters@entrouvert.com>2020-10-20 06:36:42 (GMT)
committerThomas NOEL <tnoel@entrouvert.com>2020-10-22 22:25:35 (GMT)
commit3fd49092fa0887ad933c0c1ce8db62c06fc924ed (patch)
tree0edc755cad02f3dfa685db2ea324bf80016d5508
parentdba16f9b390e98314c5efedf1b8176797976a61f (diff)
downloadgadjo-3fd49092fa0887ad933c0c1ce8db62c06fc924ed.zip
gadjo-3fd49092fa0887ad933c0c1ce8db62c06fc924ed.tar.gz
gadjo-3fd49092fa0887ad933c0c1ce8db62c06fc924ed.tar.bz2
style: make select2 widgets respect grid (#37679)v1.8
-rw-r--r--gadjo/static/css/_grid.scss4
1 files changed, 4 insertions, 0 deletions
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} {