Increase notification card minimum width
This commit is contained in:
@@ -56,8 +56,8 @@
|
||||
|
||||
<h3 class="sg-sub-heading sg-section-h3">Notifications</h3>
|
||||
<table class="sg-foundation-table sg-table-label"><thead><tr><th>Semantischer Token</th><th>Verwendeter Foundation-Token</th><th>Beschreibung Verwendungszweck im Pattern</th></tr></thead><tbody>
|
||||
<tr><td>layout-notifications-card-flex-basis</td><td>layout-object-card-min-width</td><td>Flex-Basis der Notification Card im Notifications-Pattern; gilt auch in der dokumentierten Variante innerhalb von <code>.sg-group-card</code>.</td></tr>
|
||||
<tr><td>layout-notifications-card-min-width</td><td>layout-object-card-min-width</td><td>Mindestbreite der Notification Card im Notifications-Pattern; verhindert zu frühes Schrumpfen bei Viewport-Änderungen.</td></tr>
|
||||
<tr><td>layout-notifications-card-flex-basis</td><td>calc(var(--layout-object-card-min-width) + 50px)</td><td>Flex-Basis der Notification Card im Notifications-Pattern; entspricht der um 50px erhöhten Mindestbreite und gilt auch in der dokumentierten Variante innerhalb von <code>.sg-group-card</code>.</td></tr>
|
||||
<tr><td>layout-notifications-card-min-width</td><td>calc(var(--layout-object-card-min-width) + 50px)</td><td>Mindestbreite der Notification Card im Notifications-Pattern; 50px größer als die Object Card und verhindert zu frühes Schrumpfen bei Viewport-Änderungen.</td></tr>
|
||||
<tr><td>layout-notifications-card-max-width</td><td>layout-object-card-max-width</td><td>Maximalbreite der Notification Card im Notifications-Pattern; begrenzt Wachstum konsistent zur Object-Card-Breite.</td></tr>
|
||||
<tr><td>layout-notifications-text-segment-fixed-height</td><td>dimension-notifications-text-segment-fixed-height</td><td>Fixe Desktop-Höhe des ersten Text-Segments im Notifications-Pattern; auf Mobile wird die Höhe auf auto gesetzt.</td></tr>
|
||||
<tr><td>layout-notifications-text-segment-fixed-height-small</td><td>dimension-notifications-text-segment-fixed-height-small</td><td>Fixe Desktop-Höhe des ersten Text-Segments in der Variante <code>Pattern: Notifications small</code>; auf Mobile wird die Höhe auf auto gesetzt.</td></tr>
|
||||
|
||||
@@ -170,8 +170,8 @@
|
||||
--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-flex-basis: calc(var(--layout-object-card-min-width) + 50px);
|
||||
--layout-notifications-card-min-width: calc(var(--layout-object-card-min-width) + 50px);
|
||||
--layout-notifications-card-max-width: var(--layout-object-card-max-width);
|
||||
--dimension-notifications-text-segment-fixed-height: 150px;
|
||||
--dimension-notifications-text-segment-fixed-height-small: 60px;
|
||||
|
||||
Reference in New Issue
Block a user