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 {
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>
<IconizedContextMenuOptionList first>
<IconizedContextMenuCheckbox
iconClassName="mx_SpacePanel_iconSettings"
label={_t("Show all rooms in home")}
iconClassName="mx_SpacePanel_noIcon"
label={_t("Show all rooms")}
active={allRoomsInHome}
onClick={() => {
SettingsStore.setValue("Spaces.all_rooms_in_home", null, SettingLevel.ACCOUNT, !allRoomsInHome);

View file

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