Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 176daad

Browse files
authored
Fix room list notification badges going missing in compact layout (#11022)
1 parent a9abf58 commit 176daad

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

res/css/views/rooms/_EventTile.pcss

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1453,12 +1453,14 @@ $left-gutter: 64px;
14531453
margin-bottom: $spacing-4; /* 1/4 of the non-compact margin-bottom */
14541454
}
14551455
}
1456-
}
14571456

1458-
&[data-shape="ThreadsList"][data-notification]::before,
1459-
.mx_NotificationBadge {
1460-
/* stylelint-disable-next-line declaration-colon-space-after */
1461-
inset-block-start: calc($notification-inset-block-start - var(--MatrixChat_useCompactLayout_group-padding-top));
1457+
&[data-shape="ThreadsList"][data-notification]::before,
1458+
.mx_NotificationBadge {
1459+
/* stylelint-disable-next-line declaration-colon-space-after */
1460+
inset-block-start: calc(
1461+
$notification-inset-block-start - var(--MatrixChat_useCompactLayout_group-padding-top)
1462+
);
1463+
}
14621464
}
14631465
}
14641466

0 commit comments

Comments
 (0)