From 6449016d4b19a1bfe765e3f499cf768a5f7bbfee Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Wed, 21 Aug 2019 14:41:25 -0600 Subject: [PATCH] Fix alignment of discovery section addresses We target the addresses specifically to avoid crushing the subsection text. --- res/css/views/settings/tabs/user/_GeneralUserSettingsTab.scss | 2 ++ .../views/settings/tabs/user/GeneralUserSettingsTab.js | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/res/css/views/settings/tabs/user/_GeneralUserSettingsTab.scss b/res/css/views/settings/tabs/user/_GeneralUserSettingsTab.scss index ae55733192..62d230e752 100644 --- a/res/css/views/settings/tabs/user/_GeneralUserSettingsTab.scss +++ b/res/css/views/settings/tabs/user/_GeneralUserSettingsTab.scss @@ -25,6 +25,8 @@ limitations under the License. .mx_GeneralUserSettingsTab_accountSection .mx_EmailAddresses, .mx_GeneralUserSettingsTab_accountSection .mx_PhoneNumbers, +.mx_GeneralUserSettingsTab_discovery .mx_ExistingEmailAddress, +.mx_GeneralUserSettingsTab_discovery .mx_ExistingPhoneNumber, .mx_GeneralUserSettingsTab_languageInput { @mixin mx_Settings_fullWidthField; } diff --git a/src/components/views/settings/tabs/user/GeneralUserSettingsTab.js b/src/components/views/settings/tabs/user/GeneralUserSettingsTab.js index e37fa003f7..b7e38ff991 100644 --- a/src/components/views/settings/tabs/user/GeneralUserSettingsTab.js +++ b/src/components/views/settings/tabs/user/GeneralUserSettingsTab.js @@ -272,7 +272,7 @@ export default class GeneralUserSettingsTab extends React.Component { const PhoneNumbers = sdk.getComponent("views.settings.discovery.PhoneNumbers"); const SetIdServer = sdk.getComponent("views.settings.SetIdServer"); - const threepidSection = this.state.haveIdServer ?
+ const threepidSection = this.state.haveIdServer ?
{_t("Email addresses")}