fix(components): make slider preview frame and row width input-like

This commit is contained in:
2026-05-25 07:23:16 +02:00
parent d7c8f09462
commit 604bbe6c99
+16
View File
@@ -1142,6 +1142,11 @@ section + section {
width: 100%;
}
#component-slider .sg-form-preview-area {
width: 100%;
box-sizing: border-box;
}
#component-slider .sg-state-example > :last-child {
width: 100%;
min-width: 0;
@@ -1160,6 +1165,11 @@ section + section {
grid-column: 2;
}
#component-slider .sg-state-example > .sg-slider-row,
#component-slider .sg-activatable-row .sg-slider-row {
max-width: var(--layout-input-field-max-width);
}
#component-slider .sg-slider-row .sg-slider-value {
min-width: 0;
grid-column: 3;
@@ -1256,6 +1266,12 @@ section + section {
}
@media (max-width: 48rem) {
#component-slider .sg-form-preview-area {
width: 100%;
max-width: 100%;
box-sizing: border-box;
}
#component-slider .sg-state-example {
grid-template-columns: 1fr;
align-items: start;