You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-19 20:23:18 +03:00
Don't hide notification badge on the home space button as it has no context menu
This commit is contained in:
@ -276,6 +276,7 @@ $activeBorderColor: $secondary-fg-color;
|
|||||||
.mx_SpaceButton:hover,
|
.mx_SpaceButton:hover,
|
||||||
.mx_SpaceButton:focus-within,
|
.mx_SpaceButton:focus-within,
|
||||||
.mx_SpaceButton_hasMenuOpen {
|
.mx_SpaceButton_hasMenuOpen {
|
||||||
|
&:not(.mx_SpaceButton_home) {
|
||||||
// Hide the badge container on hover because it'll be a menu button
|
// Hide the badge container on hover because it'll be a menu button
|
||||||
.mx_SpacePanel_badgeContainer {
|
.mx_SpacePanel_badgeContainer {
|
||||||
width: 0;
|
width: 0;
|
||||||
@ -288,6 +289,7 @@ $activeBorderColor: $secondary-fg-color;
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/* root space buttons are bigger and not indented */
|
/* root space buttons are bigger and not indented */
|
||||||
& > .mx_AutoHideScrollbar {
|
& > .mx_AutoHideScrollbar {
|
||||||
|
Reference in New Issue
Block a user