From 6c7d39783769f8891d4a5dba7d8a70ec493e5199 Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Tue, 6 Sep 2022 10:41:12 +0200 Subject: [PATCH] set width of select2 to 'resolve' instead of '100%' --- views/bootstrap4/styles/application.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views/bootstrap4/styles/application.js b/views/bootstrap4/styles/application.js index 4c2d9078a..bcf9d170d 100644 --- a/views/bootstrap4/styles/application.js +++ b/views/bootstrap4/styles/application.js @@ -62,7 +62,7 @@ function initMost() { $(".chzn-select").select2({ theme: "bootstrap4", - width: '100%', + width: 'resolve', templateResult: chzn_template_func//, //templateSelection: chzn_template_func });