Skip to content

Commit d9093af

Browse files
committed
Fix test
1 parent c89723a commit d9093af

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

core/src/main/resources/lib/form/hetero-list.jelly

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,8 +156,10 @@ THE SOFTWARE.
156156
</div>
157157

158158
<j:if test="${!readOnlyMode}">
159-
<button type="button" class="jenkins-button hetero-list-add" menualign="${attrs.menuAlign}" suffix="${attrs.name}">${attrs.addCaption?:'%Add'}<l:icon src="symbol-chevron-down"/>
160-
</button>
159+
<span>
160+
<button type="button" class="jenkins-button hetero-list-add" menualign="${attrs.menuAlign}" suffix="${attrs.name}">${attrs.addCaption?:'%Add'}<l:icon src="symbol-chevron-down"/>
161+
</button>
162+
</span>
161163
</j:if>
162164
</div>
163165
</j:jelly>

src/main/scss/form/_reorderable-list.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ div.repeated-chunk {
221221
}
222222
}
223223

224-
.repeated-chunk + .repeatable-insertion-point + .hetero-list-add {
224+
.repeated-chunk + .repeatable-insertion-point + span .hetero-list-add {
225225
margin-top: 1rem;
226226
transition: none;
227227
}

0 commit comments

Comments
 (0)