Apply mobile stacked slider labels to all pulldown panels
This commit is contained in:
+3
-19
@@ -1676,15 +1676,15 @@ section + section {
|
|||||||
|
|
||||||
.sg-pulldown-panel .sg-slider-row[data-activatable="true"] {
|
.sg-pulldown-panel .sg-slider-row[data-activatable="true"] {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-wrap: nowrap;
|
flex-wrap: wrap;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: var(--spacing-small);
|
gap: var(--spacing-small);
|
||||||
padding-right: 0;
|
padding-right: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.sg-pulldown-panel .sg-slider-row[data-activatable="true"] .sg-label {
|
.sg-pulldown-panel .sg-slider-row[data-activatable="true"] .sg-label {
|
||||||
min-width: var(--layout-input-label-width);
|
min-width: 100%;
|
||||||
flex: 0 0 var(--layout-input-label-width);
|
flex: 0 0 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.sg-pulldown-panel .sg-slider-row[data-activatable="true"] .sg-slider {
|
.sg-pulldown-panel .sg-slider-row[data-activatable="true"] .sg-slider {
|
||||||
@@ -1859,22 +1859,6 @@ section + section {
|
|||||||
margin-top: var(--spacing-small);
|
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 {
|
.sg-form-sections-card__actions {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||||
|
|||||||
Reference in New Issue
Block a user