Add notifications sizing tokens and group-card variant rule
This commit is contained in:
1 parent
12f16b9813
commit
236d9cf1f2
3 files changed
+22
-3
No files matched your search
@@ -170,6 +170,9 @@
|
||||
--layout-object-card-mobile-width: var(--dimension-object-card-mobile-width);
|
||||
--layout-object-card-mobile-height: var(--dimension-object-card-mobile-height);
|
||||
--layout-object-card-desktop-breakpoint: var(--dimension-object-card-desktop-breakpoint);
|
||||
--layout-notifications-card-flex-basis: var(--layout-object-card-min-width);
|
||||
--layout-notifications-card-min-width: var(--layout-object-card-min-width);
|
||||
--layout-notifications-card-max-width: var(--layout-object-card-max-width);
|
||||
--layout-notifications-text-segment-fixed-height: 150px;
|
||||
--layout-object-group-card-min-width: var(--dimension-object-group-card-min-width);
|
||||
--layout-object-group-card-max-width: var(--dimension-object-group-card-max-width);
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user