From 0414ea27b8bb21dc57edb5618e5e3569faf8be40 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Thu, 12 Aug 2021 15:53:10 +0100 Subject: [PATCH] Iterate PR based on feedback --- .../tabs/user/_PreferencesUserSettingsTab.scss | 11 +++++++++-- src/i18n/strings/en_EN.json | 2 +- src/settings/Settings.tsx | 4 ++-- 3 files changed, 12 insertions(+), 5 deletions(-) diff --git a/res/css/views/settings/tabs/user/_PreferencesUserSettingsTab.scss b/res/css/views/settings/tabs/user/_PreferencesUserSettingsTab.scss index d6f4064e35..582f984cdf 100644 --- a/res/css/views/settings/tabs/user/_PreferencesUserSettingsTab.scss +++ b/res/css/views/settings/tabs/user/_PreferencesUserSettingsTab.scss @@ -22,8 +22,15 @@ limitations under the License. .mx_SettingsTab_section { margin-bottom: 30px; - > details + .mx_SettingsFlag { - margin-top: 20px; + > details { + > summary { + cursor: pointer; + color: $primary-fg-color; + } + + & + .mx_SettingsFlag { + margin-top: 20px; + } } } diff --git a/src/i18n/strings/en_EN.json b/src/i18n/strings/en_EN.json index 6150eb13df..22418550cb 100644 --- a/src/i18n/strings/en_EN.json +++ b/src/i18n/strings/en_EN.json @@ -871,7 +871,7 @@ "Show all rooms in Home": "Show all rooms in Home", "All rooms you're in will appear in Home.": "All rooms you're in will appear in Home.", "Display Communities instead of Spaces": "Display Communities instead of Spaces", - "Temporarily show communities instead of Spaces. Support for this will be removed in the near future. This will reload Element": "Temporarily show communities instead of Spaces. Support for this will be removed in the near future. This will reload Element", + "Temporarily show communities instead of Spaces for this session. Support for this will be removed in the near future. This will reload Element.": "Temporarily show communities instead of Spaces for this session. Support for this will be removed in the near future. This will reload Element.", "Collecting app version information": "Collecting app version information", "Collecting logs": "Collecting logs", "Uploading logs": "Uploading logs", diff --git a/src/settings/Settings.tsx b/src/settings/Settings.tsx index 419139c4e7..ce3324adc4 100644 --- a/src/settings/Settings.tsx +++ b/src/settings/Settings.tsx @@ -733,8 +733,8 @@ export const SETTINGS: {[setting: string]: ISetting} = { }, "showCommunitiesInsteadOfSpaces": { displayName: _td("Display Communities instead of Spaces"), - description: _td("Temporarily show communities instead of Spaces. " + - "Support for this will be removed in the near future. This will reload Element"), + description: _td("Temporarily show communities instead of Spaces for this session. " + + "Support for this will be removed in the near future. This will reload Element."), supportedLevels: LEVELS_DEVICE_ONLY_SETTINGS_WITH_CONFIG, default: false, controller: new ReloadOnChangeController(),