Stack test pulldown slider label above control on mobile

This commit is contained in:
2026-05-19 20:16:16 +02:00
parent 8bd01223ae
commit 36f2b1a555
+16
View File
@@ -1859,6 +1859,22 @@ section + section {
margin-top: var(--spacing-small);
}
@media (max-width: 48rem) {
.sg-pulldown-demo--single-slider-test .sg-pulldown-panel .sg-slider-row[data-activatable="true"] {
flex-wrap: wrap;
}
.sg-pulldown-demo--single-slider-test .sg-pulldown-panel .sg-slider-row[data-activatable="true"] .sg-label {
min-width: 100%;
flex: 0 0 100%;
}
.sg-pulldown-demo--single-slider-test .sg-pulldown-panel .sg-slider-row[data-activatable="true"] .sg-slider {
flex: 1 1 auto;
width: auto;
}
}
.sg-form-sections-card__actions {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));