Skip to content

Commit

Permalink
Fix room list notification badges going missing in compact layout (#1…
Browse files Browse the repository at this point in the history
  • Loading branch information
t3chguy committed May 31, 2023
1 parent a9abf58 commit 176daad
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions res/css/views/rooms/_EventTile.pcss
Original file line number Diff line number Diff line change
Expand Up @@ -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)
);
}
}
}

Expand Down

0 comments on commit 176daad

Please sign in to comment.