Fix accessibility of the Explore button

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski 2020-07-05 01:30:22 +01:00
parent 4f1cd82b66
commit 83cfdd9c07

View file

@ -86,11 +86,15 @@ $tagPanelWidth: 70px; // only applies in this file, used for calculations
.mx_RoomSearch_expanded + .mx_LeftPanel2_exploreButton { .mx_RoomSearch_expanded + .mx_LeftPanel2_exploreButton {
// Cheaty way to return the occupied space to the filter input // Cheaty way to return the occupied space to the filter input
flex-basis: 0;
margin: 0; margin: 0;
width: 0; width: 0;
// Don't forget to hide the masked ::before icon // Don't forget to hide the masked ::before icon,
visibility: hidden; // using display:none or visibility:hidden would break accessibility
&::before {
content: none;
}
} }
.mx_LeftPanel2_exploreButton { .mx_LeftPanel2_exploreButton {