Simplify Space Panel notification badge layout (#6977)
This commit is contained in:
parent
694ec946e2
commit
974f45930c
2 changed files with 28 additions and 48 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue