Fix notifications pattern width behavior and text-segment height

This commit is contained in:
2026-06-01 16:36:29 +02:00
parent 328e1652ec
commit 98168722b6
2 changed files with 20 additions and 3 deletions
+17
View File
@@ -2,16 +2,33 @@
/* Patterns: Notifications */
/* ========================================================= */
.sg-notifications-pattern {
display: flex;
flex-wrap: wrap;
gap: var(--spacing-small);
align-items: flex-start;
width: 100%;
}
.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);
}
.sg-notifications-pattern__text-segment {
height: 200px;
}
@media (max-width: 767px) {
.sg-notifications-pattern__card {
width: 100%;
min-width: 0;
max-width: none;
flex: 1 1 auto;
}
.sg-notifications-pattern__text-segment {
height: auto;
}
}