Fix room list notification badges going missing in compact layout (#11022)

This commit is contained in:
Michael Telatynski 2023-05-31 13:20:26 +01:00 committed by GitHub
parent a9abf58ac3
commit 176daad49f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1453,12 +1453,14 @@ $left-gutter: 64px;
margin-bottom: $spacing-4; /* 1/4 of the non-compact margin-bottom */
}
}
}
&[data-shape="ThreadsList"][data-notification]::before,
.mx_NotificationBadge {
/* stylelint-disable-next-line declaration-colon-space-after */
inset-block-start: calc($notification-inset-block-start - var(--MatrixChat_useCompactLayout_group-padding-top));
&[data-shape="ThreadsList"][data-notification]::before,
.mx_NotificationBadge {
/* stylelint-disable-next-line declaration-colon-space-after */
inset-block-start: calc(
$notification-inset-block-start - var(--MatrixChat_useCompactLayout_group-padding-top)
);
}
}
}