Skip to content

Commit 6120a07

Browse files
committed
Adjust osd variant picker wrapping
1 parent c35ed2c commit 6120a07

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/css/tabs/osd.css

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -429,16 +429,20 @@ button {
429429

430430
.tab-osd .switchable-field-flex .switchable-field-description {
431431
display: flex;
432-
flex-direction: column;
432+
flex-direction: row;
433433
/*
434434
min width here is counterintuitive/seems to do nothing. but important, stops the variant selects overflowing
435435
see https: //stackoverflow.com/questions/36230944/prevent-flex-items-from-overflowing-a-container
436436
*/
437437
min-width: 0;
438+
justify-content: space-between;
439+
width: 100%;
440+
flex-wrap: wrap;
438441
}
439442

443+
440444
.tab-osd .switchable-field-flex .switchable-field-description .osd-variant {
441-
margin-top: 5px;
445+
flex-grow: 2;
442446
}
443447

444448
.spacer_box_title span {

0 commit comments

Comments
 (0)