Merge pull request #5845 from matrix-org/t3chguy/fix/16844

Don't hide notification badge on the home space button as it has no menu
This commit is contained in:
Michael Telatynski 2021-04-12 14:49:35 +01:00 committed by GitHub
commit 3faf7280fe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -276,15 +276,17 @@ $activeBorderColor: $secondary-fg-color;
.mx_SpaceButton:hover, .mx_SpaceButton:hover,
.mx_SpaceButton:focus-within, .mx_SpaceButton:focus-within,
.mx_SpaceButton_hasMenuOpen { .mx_SpaceButton_hasMenuOpen {
// Hide the badge container on hover because it'll be a menu button &:not(.mx_SpaceButton_home) {
.mx_SpacePanel_badgeContainer { // Hide the badge container on hover because it'll be a menu button
width: 0; .mx_SpacePanel_badgeContainer {
height: 0; width: 0;
display: none; height: 0;
} display: none;
}
.mx_SpaceButton_menuButton { .mx_SpaceButton_menuButton {
display: block; display: block;
}
} }
} }
} }