Apply unified min/max form frame and remove legacy button width overrides

This commit is contained in:
2026-05-28 08:19:47 +02:00
parent 5bac467735
commit d1b615a576
+7 -5
View File
@@ -6,6 +6,13 @@
display: flex; display: flex;
flex-direction: column; flex-direction: column;
width: 100%; width: 100%;
min-width: min(
100%,
calc(var(--layout-input-label-width) + var(--spacing-small) + var(--layout-input-field-desktop-width))
);
max-width: calc(
var(--layout-input-label-width) + var(--spacing-small) + var(--layout-input-field-max-width)
);
} }
.sg-form-sections-card-wrapper { .sg-form-sections-card-wrapper {
@@ -273,17 +280,12 @@
grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-columns: repeat(2, minmax(0, 1fr));
gap: var(--spacing-small); gap: var(--spacing-small);
width: 100%; width: 100%;
max-width: calc(
var(--layout-input-label-width) + var(--spacing-small) + var(--layout-input-field-max-width)
);
margin-top: 0; margin-top: 0;
} }
.sg-form-sections-card__action { .sg-form-sections-card__action {
min-width: 0; min-width: 0;
width: 100%; width: 100%;
max-width: 100%;
box-sizing: border-box;
} }
.sg-navigation-card-layout { .sg-navigation-card-layout {