fix(options-row): define odd mobile pulldown layout
This commit is contained in:
1 parent
8021af7203
commit
08fc6734ce
2 files changed
+6
-1
No files matched your search
@@ -17,7 +17,7 @@
|
||||
</p>
|
||||
|
||||
<p class="sg-table-label" style="color: var(--text-options-row-description);">
|
||||
Mobile: Pulldowns stehen mit maximal zwei Elementen pro Zeile; ein Suchfeld steht immer allein in einer 100-%-Zeile.
|
||||
Mobile: Pulldowns stehen mit maximal zwei Elementen pro Zeile; bei ungerader Anzahl steht der letzte Pulldown allein in einer 100-%-Zeile. Ein Suchfeld steht immer allein in einer 100-%-Zeile.
|
||||
</p>
|
||||
|
||||
<div class="sg-options-row" aria-label="Optionszeile" data-pattern="options-row">
|
||||
|
||||
@@ -105,6 +105,11 @@
|
||||
flex-basis: calc(50% - (var(--layout-options-row-group-gap) / 2));
|
||||
}
|
||||
|
||||
.sg-options-row:not(.sg-options-row--left-only) > .sg-options-row__left:has(> .sg-pulldown-demo:nth-last-child(2):nth-child(odd)) > .sg-pulldown-demo:nth-last-child(2),
|
||||
.sg-options-row:not(.sg-options-row--left-only) > .sg-options-row__left:has(> .sg-pulldown-demo:last-child:nth-child(odd)) > .sg-pulldown-demo:last-child {
|
||||
flex-basis: 100%;
|
||||
}
|
||||
|
||||
.sg-options-row--left-only .sg-options-row__left > .sg-pulldown-demo {
|
||||
flex-basis: 100%;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user