Add notifications sizing tokens and group-card variant rule

This commit is contained in:
2026-06-01 17:24:18 +02:00
parent 12f16b9813
commit 236d9cf1f2
3 changed files with 22 additions and 3 deletions
+11 -3
View File
@@ -11,9 +11,17 @@
}
.sg-notifications-pattern__card {
flex: 1 1 var(--layout-object-card-min-width);
min-width: var(--layout-object-card-min-width);
max-width: var(--layout-object-card-max-width);
flex: 1 1 var(--layout-notifications-card-flex-basis);
min-width: var(--layout-notifications-card-min-width);
max-width: var(--layout-notifications-card-max-width);
}
/* Dokumentierte Pattern-Variante: Notifications innerhalb Group Card */
.sg-notifications-pattern.sg-group-card > .sg-notifications-pattern__card {
flex: 1 1 var(--layout-notifications-card-flex-basis);
min-width: var(--layout-notifications-card-min-width);
max-width: var(--layout-notifications-card-max-width);
width: auto;
}
.sg-notifications-pattern.sg-notifications-pattern--multi-row .sg-notifications-pattern__card {