Fix notifications pattern width behavior and text-segment height
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user