From 13957bb5e791ddb6126cddda120a67eeef9a10a4 Mon Sep 17 00:00:00 2001 From: "J. Ryan Stinnett" Date: Wed, 6 Mar 2019 11:26:05 +0000 Subject: [PATCH] Move country dropdown inside field in Settings This updates the Settings phone input to match the new styling used on auth flows. Fixes https://github.com/vector-im/riot-web/issues/9049 --- src/components/views/settings/PhoneNumbers.js | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/src/components/views/settings/PhoneNumbers.js b/src/components/views/settings/PhoneNumbers.js index bfd3896a80..d85642d346 100644 --- a/src/components/views/settings/PhoneNumbers.js +++ b/src/components/views/settings/PhoneNumbers.js @@ -224,21 +224,23 @@ export default class PhoneNumbers extends React.Component { ); } + const phoneCountry = ; + return (
{existingPhoneElements}
- + type="text" autoComplete="off" disabled={this.state.verifying} + prefix={phoneCountry} />
{addVerifySection}