1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-23 02:10:12 +01:00

Fix account modal back button styling (#9184)

This commit is contained in:
Erik Marks 2020-08-11 09:49:07 -07:00 committed by GitHub
commit 163f45beed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 3 deletions

View File

@ -25,7 +25,7 @@ export default function AccountModalContainer (props, context) {
{showBackButton && (
<div className="account-modal__back" onClick={backButtonAction}>
<i className="fa fa-angle-left fa-lg" />
<span className="account-modal__text">{' ' + context.t('back')}</span>
<span className="account-modal__back-text">{context.t('back')}</span>
</div>
)}
<button className="account-modal__close" onClick={hideModal} />

View File

@ -17,12 +17,14 @@
top: 13px;
left: 17px;
cursor: pointer;
display: flex;
align-items: center;
}
&__text {
margin-top: 2px;
&__back-text {
font-size: 14px;
line-height: 18px;
padding-left: 3px;
}
&__close {