Fix iPhone slider remove button style and row alignment in test pulldown
This commit is contained in:
@@ -228,7 +228,7 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="sg-pulldown-demo" data-open="false" data-align="left" data-selection-mode="multiple" data-component="pulldown" data-component-state="inactive-selectable" data-activatable="true">
|
||||
<div class="sg-pulldown-demo sg-pulldown-demo--single-slider-test" data-open="false" data-align="left" data-selection-mode="multiple" data-component="pulldown" data-component-state="inactive-selectable" data-activatable="true">
|
||||
<span class="sg-activatable-control">
|
||||
<button class="sg-interaction-element sg-pulldown sg-pulldown--inactive-selectable sg-pulldown-demo__trigger" type="button" aria-expanded="false" aria-label="Test-Pulldown ohne aktive Auswahl" data-label-base="Test-Pulldown" data-component-part="pulldown-trigger">
|
||||
Test-Pulldown
|
||||
|
||||
@@ -1278,6 +1278,8 @@ section + section {
|
||||
font-family: var(--font-family-base);
|
||||
font-size: var(--font-size-base);
|
||||
line-height: 1;
|
||||
-webkit-appearance: none;
|
||||
appearance: none;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
@@ -1861,6 +1863,52 @@ 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"] {
|
||||
display: grid;
|
||||
grid-template-columns:
|
||||
var(--layout-input-label-width)
|
||||
minmax(0, 1fr)
|
||||
auto
|
||||
var(--interaction-height);
|
||||
align-items: center;
|
||||
column-gap: var(--spacing-small);
|
||||
padding-right: 0;
|
||||
}
|
||||
|
||||
.sg-pulldown-demo--single-slider-test .sg-pulldown-panel .sg-slider-row[data-activatable="true"] .sg-label {
|
||||
min-width: 0;
|
||||
flex: 0 0 auto;
|
||||
grid-column: 1;
|
||||
grid-row: 1;
|
||||
}
|
||||
|
||||
.sg-pulldown-demo--single-slider-test .sg-pulldown-panel .sg-slider-row[data-activatable="true"] .sg-slider {
|
||||
min-width: 0;
|
||||
max-width: 100%;
|
||||
width: 100%;
|
||||
grid-column: 2;
|
||||
grid-row: 1;
|
||||
}
|
||||
|
||||
.sg-pulldown-demo--single-slider-test .sg-pulldown-panel .sg-slider-row[data-activatable="true"] .sg-slider-value {
|
||||
min-width: calc(var(--interaction-height) * 1.25);
|
||||
justify-self: end;
|
||||
align-self: center;
|
||||
white-space: nowrap;
|
||||
grid-column: 3;
|
||||
grid-row: 1;
|
||||
}
|
||||
|
||||
.sg-pulldown-demo--single-slider-test .sg-pulldown-panel .sg-slider-row[data-activatable="true"] .sg-activatable-remove {
|
||||
position: static;
|
||||
transform: none;
|
||||
margin-left: calc(var(--spacing-small) * 1.5);
|
||||
grid-column: 4;
|
||||
grid-row: 1;
|
||||
}
|
||||
}
|
||||
|
||||
.sg-form-sections-card__actions {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
|
||||
Reference in New Issue
Block a user