You've already forked matrix-react-sdk
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:
committed by
GitHub
parent
694ec946e2
commit
974f45930c
@ -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"
|
||||
|
Reference in New Issue
Block a user