1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-07-30 02:21:17 +03:00

Simplify Space Panel notification badge layout (#6977)

This commit is contained in:
Michael Telatynski
2021-10-19 16:11:53 +01:00
committed by GitHub
parent 694ec946e2
commit 974f45930c
2 changed files with 28 additions and 48 deletions

View File

@ -125,9 +125,11 @@ export const SpaceButton: React.FC<IButtonProps> = ({
>
{ children }
<div className="mx_SpaceButton_selectionWrapper">
{ avatar }
<div className="mx_SpaceButton_avatarWrapper">
{ avatar }
{ notifBadge }
</div>
{ !isNarrow && <span className="mx_SpaceButton_name">{ label }</span> }
{ notifBadge }
{ ContextMenuComponent && <ContextMenuTooltipButton
className="mx_SpaceButton_menuButton"