diff --git a/core/src/main/resources/lib/hudson/newFromList/form.jelly b/core/src/main/resources/lib/hudson/newFromList/form.jelly index 90e0e0ecf21a..0709d563ebab 100644 --- a/core/src/main/resources/lib/hudson/newFromList/form.jelly +++ b/core/src/main/resources/lib/hudson/newFromList/form.jelly @@ -89,11 +89,14 @@ THE SOFTWARE.
+
+ + +
- - - - diff --git a/war/src/main/less/modules/form.less b/war/src/main/less/modules/form.less index 4f749fa75ce3..f5e63751aa10 100644 --- a/war/src/main/less/modules/form.less +++ b/war/src/main/less/modules/form.less @@ -75,6 +75,7 @@ .jenkins-search { position: relative; + max-width: 420px; &__input { appearance: none; @@ -300,8 +301,12 @@ &__children { position: relative; - margin-top: -10px; + margin-top: 0; + opacity: 0; padding-left: 32px; + transition: 0.2s ease; + visibility: hidden; + max-height: 0; &::after { content: ""; @@ -321,6 +326,13 @@ } } } + + &__input:checked + &__label + &__children { + visibility: visible; + margin-top: 10px; + opacity: 1; + max-height: none; + } } .jenkins-checkbox {