Iterate PR

This commit is contained in:
Michael Telatynski 2021-07-28 19:33:07 +01:00
parent ac800ad94d
commit 9fb1c8e4cd
3 changed files with 11 additions and 3 deletions

View file

@ -368,6 +368,14 @@ $activeBorderColor: $secondary-fg-color;
.mx_SpacePanel_iconExplore::before { .mx_SpacePanel_iconExplore::before {
mask-image: url('$(res)/img/element-icons/roomlist/browse.svg'); mask-image: url('$(res)/img/element-icons/roomlist/browse.svg');
} }
.mx_SpacePanel_noIcon {
display: none;
& + .mx_IconizedContextMenu_label {
padding-left: 5px !important; // override default iconized label style to align with header
}
}
} }

View file

@ -79,8 +79,8 @@ const HomeButtonContextMenu = ({ onFinished, ...props }: ComponentProps<typeof S
</div> </div>
<IconizedContextMenuOptionList first> <IconizedContextMenuOptionList first>
<IconizedContextMenuCheckbox <IconizedContextMenuCheckbox
iconClassName="mx_SpacePanel_iconSettings" iconClassName="mx_SpacePanel_noIcon"
label={_t("Show all rooms in home")} label={_t("Show all rooms")}
active={allRoomsInHome} active={allRoomsInHome}
onClick={() => { onClick={() => {
SettingsStore.setValue("Spaces.all_rooms_in_home", null, SettingLevel.ACCOUNT, !allRoomsInHome); SettingsStore.setValue("Spaces.all_rooms_in_home", null, SettingLevel.ACCOUNT, !allRoomsInHome);

View file

@ -1023,7 +1023,7 @@
"Creating...": "Creating...", "Creating...": "Creating...",
"Create": "Create", "Create": "Create",
"Home": "Home", "Home": "Home",
"Show all rooms in home": "Show all rooms in home", "Show all rooms": "Show all rooms",
"All rooms": "All rooms", "All rooms": "All rooms",
"Options": "Options", "Options": "Options",
"Expand space panel": "Expand space panel", "Expand space panel": "Expand space panel",