File tree Expand file tree Collapse file tree 2 files changed +12
-9
lines changed Expand file tree Collapse file tree 2 files changed +12
-9
lines changed Original file line number Diff line number Diff line change @@ -63,23 +63,24 @@ const AccountAboutPage: FC = () => {
6363
6464 const inputStyle = { width : 250 }
6565 const labelStyle = { marginBottom : 8 }
66+ const dividerStyle = { marginTop : '32px' }
6667
6768 return (
6869 < AccountTabContainer activeTab = "about" >
6970 < >
7071 { userAccounts && userAccounts . length >= 2 && (
71- < React . Fragment >
72+ < div >
7273 < Button
7374 text = "Switch Account"
7475 icon = { IconFont . Switch_New }
7576 onClick = { showSwitchAccountDialog }
7677 testID = "user-account-switch-btn"
7778 />
78- < hr />
79- </ React . Fragment >
79+ < hr style = { dividerStyle } />
80+ </ div >
8081 ) }
8182
82- < h2 data-testid = "account-settings--header" > Account Details </ h2 >
83+ < h4 data-testid = "account-settings--header" > Account Details </ h4 >
8384 < div style = { labelStyle } > Account Name</ div >
8485 < FlexBox direction = { FlexDirection . Row } margin = { ComponentSize . Medium } >
8586 < Input
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ const ToggleGroup: FC<ToggleProps> = ({onClickAcct}) => {
4242 setSelectedAcct ( numAcct )
4343 }
4444
45- const style = { marginBottom : 7 }
45+ const style = { marginBottom : 17 }
4646
4747 return (
4848 < React . Fragment >
@@ -132,9 +132,9 @@ export const SwitchAccountOverlay: FC<Props> = ({onDismissOverlay}) => {
132132 'Select a Different Account to Enable the Switch Button'
133133
134134 return (
135- < Overlay . Container maxWidth = { 630 } testID = "switch-account--dialog" >
135+ < Overlay . Container maxWidth = { 420 } testID = "switch-account--dialog" >
136136 < Overlay . Header
137- title = "Switch Account "
137+ title = "Switch account "
138138 wrapText = { true }
139139 onDismiss = { onDismissOverlay }
140140 />
@@ -146,19 +146,21 @@ export const SwitchAccountOverlay: FC<Props> = ({onDismissOverlay}) => {
146146 text = "Cancel"
147147 testID = "multi-account-switch-cancel"
148148 onClick = { onDismissOverlay }
149+ color = { ComponentColor . Tertiary }
149150 />
150151 < Button
151152 testID = "switch-default-account--btn"
152- text = "Set Default Account "
153+ text = "Set as default "
153154 status = { defaultButtonStatus }
154155 onClick = { doSetDefaultAccount }
155156 />
156157 < Button
157- text = "Switch Account "
158+ text = "Switch"
158159 onClick = { doSwitchAccount }
159160 status = { switchButtonStatus }
160161 disabledTitleText = { disabledTitleText }
161162 testID = "actually-switch-account--btn"
163+ color = { ComponentColor . Primary }
162164 />
163165 </ Overlay . Footer >
164166 </ Overlay . Container >
You can’t perform that action at this time.
0 commit comments