diff --git a/templates/devtest/fomantic-dropdown.tmpl b/templates/devtest/fomantic-dropdown.tmpl
index 57a7c1313ea..0b9d227220b 100644
--- a/templates/devtest/fomantic-dropdown.tmpl
+++ b/templates/devtest/fomantic-dropdown.tmpl
@@ -29,15 +29,16 @@
empty multiple dropdown
-
-
-
- {{svg "octicon-triangle-down" 14 "dropdown icon"}}
- {{svg "octicon-x" 14 "remove icon"}}
-
clearable search dropdown
-
@@ -50,6 +51,27 @@
+
+
+
+ {{svg "octicon-triangle-down" 14 "dropdown icon"}}
+ {{svg "octicon-x" 14 "remove icon"}}
+
clearable search dropdown
+
+
+
Selection
diff --git a/web_src/css/base.css b/web_src/css/base.css
index 223d9fbad65..8d9f810ef8f 100644
--- a/web_src/css/base.css
+++ b/web_src/css/base.css
@@ -1364,6 +1364,10 @@ table th[data-sortt-desc] .svg {
min-width: 0; /* make ellipsis work */
}
+.ui.multiple.selection.dropdown {
+ flex-wrap: wrap;
+}
+
.ui.ui.dropdown.selection {
min-width: 14em; /* match the default min width */
}