Skip to content

Commit 8de1d36

Browse files
committed
Fix help icon layout overlap for dropdownDescriptorSelector
1 parent 008a334 commit 8de1d36

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

src/main/scss/form/_layout.scss

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
text-wrap: pretty;
1212
}
1313

14-
.jenkins-app-bar + .jenkins-page-description {
14+
.jenkins-app-bar+.jenkins-page-description {
1515
margin-top: -0.5rem;
1616
}
1717

@@ -32,14 +32,15 @@
3232
// Workaround for float:right button controls
3333
// (eg Global Credentials' Verify Configuration button being hidden by the floating submit bar)
3434
&::after {
35-
content: " "; /* Older browser do not support empty content */
35+
content: " ";
36+
/* Older browser do not support empty content */
3637
visibility: hidden;
3738
display: block;
3839
height: 0;
3940
clear: both;
4041
}
4142

42-
&--tight + .jenkins-form-item--tight {
43+
&--tight+.jenkins-form-item--tight {
4344
margin-top: -0.9rem;
4445
}
4546

@@ -140,7 +141,7 @@
140141
.jenkins-select-help a.jenkins-help-button {
141142
position: absolute;
142143
top: -3.7rem;
143-
right: -2rem;
144+
right: -2.5rem;
144145
}
145146

146147
.jenkins-edited-section-label {
@@ -199,4 +200,4 @@
199200
font-weight: var(--font-bold-weight);
200201
}
201202
}
202-
}
203+
}

src/main/scss/form/_select.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.jenkins-select {
22
position: relative;
3-
width: 100%;
3+
width: calc(100% - 3rem);
44

55
&::after {
66
content: "";
@@ -71,4 +71,4 @@
7171
&:disabled {
7272
pointer-events: none;
7373
}
74-
}
74+
}

0 commit comments

Comments
 (0)