Skip to content

Commit ae2418f

Browse files
authored
Merge branch 'master' into refine-dialog
2 parents fc88645 + b13dd5d commit ae2418f

File tree

2 files changed

+21
-1
lines changed

2 files changed

+21
-1
lines changed

src/main/scss/components/_dropdowns.scss

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,22 @@ $dropdown-padding: 0.375rem;
148148
min-width: 180px;
149149
user-select: none;
150150

151+
&:has(.jenkins-dropdown__item__description) {
152+
display: grid;
153+
grid-template-columns: auto 1fr;
154+
row-gap: 0.25rem;
155+
text-align: left;
156+
overflow: clip;
157+
text-wrap: wrap;
158+
max-width: 380px;
159+
160+
.jenkins-dropdown__item__description {
161+
color: var(--text-color-secondary);
162+
grid-area: 2 / 2;
163+
line-height: 1.5;
164+
}
165+
}
166+
151167
&__icon {
152168
display: inline-flex;
153169
align-items: center;

src/main/scss/components/_notice.scss

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,15 @@
1414
padding: calc(var(--section-padding) * 2);
1515
text-align: center;
1616

17-
svg {
17+
& > svg {
1818
width: 2.5rem;
1919
height: 2.5rem;
2020
}
2121

22+
.jenkins-dropdown {
23+
text-align: left;
24+
}
25+
2226
&__description {
2327
color: var(--text-color-secondary);
2428
margin-top: -0.375rem;

0 commit comments

Comments
 (0)