From 6a66c4162bb84e9fbf30f7df669d2b98f629c001 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Wed, 26 Feb 2020 23:16:27 +0000 Subject: [PATCH] Space preference sections out more significantly to make the section headers obvious Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --- .../tabs/user/_PreferencesUserSettingsTab.scss | 10 ++++++++-- .../settings/tabs/user/PreferencesUserSettingsTab.js | 6 ++++++ 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/res/css/views/settings/tabs/user/_PreferencesUserSettingsTab.scss b/res/css/views/settings/tabs/user/_PreferencesUserSettingsTab.scss index d003e175d9..aaa929604d 100644 --- a/res/css/views/settings/tabs/user/_PreferencesUserSettingsTab.scss +++ b/res/css/views/settings/tabs/user/_PreferencesUserSettingsTab.scss @@ -14,6 +14,12 @@ See the License for the specific language governing permissions and limitations under the License. */ -.mx_PreferencesUserSettingsTab .mx_Field { - @mixin mx_Settings_fullWidthField; +.mx_PreferencesUserSettingsTab { + .mx_Field { + @mixin mx_Settings_fullWidthField; + } + + .mx_SettingsTab_section { + margin-top: 30px; + } } diff --git a/src/components/views/settings/tabs/user/PreferencesUserSettingsTab.js b/src/components/views/settings/tabs/user/PreferencesUserSettingsTab.js index 2b8abafdb4..8df65e6590 100644 --- a/src/components/views/settings/tabs/user/PreferencesUserSettingsTab.js +++ b/src/components/views/settings/tabs/user/PreferencesUserSettingsTab.js @@ -176,13 +176,19 @@ export default class PreferencesUserSettingsTab extends React.Component {
{_t("Room list")} {this._renderGroup(PreferencesUserSettingsTab.ROOM_LIST_SETTINGS)} +
+
{_t("Composer")} {this._renderGroup(PreferencesUserSettingsTab.COMPOSER_SETTINGS)} +
+
{_t("Timeline")} {this._renderGroup(PreferencesUserSettingsTab.TIMELINE_SETTINGS)} +
+
{_t("Advanced")} {this._renderGroup(PreferencesUserSettingsTab.ADVANCED_SETTINGS)} {minimizeToTrayOption}