Refactor SpaceButton to be more reusable and add context menu to Home button

This commit is contained in:
Michael Telatynski 2021-07-28 17:40:33 +01:00
parent b3a28bde89
commit 67ef263940
6 changed files with 444 additions and 398 deletions

View file

@ -297,7 +297,7 @@ $activeBorderColor: $secondary-fg-color;
.mx_SpaceButton:hover,
.mx_SpaceButton:focus-within,
.mx_SpaceButton_hasMenuOpen {
&:not(.mx_SpaceButton_home):not(.mx_SpaceButton_invite) {
&:not(.mx_SpaceButton_invite) {
// Hide the badge container on hover because it'll be a menu button
.mx_SpacePanel_badgeContainer {
width: 0;