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:
commit
163f45beed
@ -25,7 +25,7 @@ export default function AccountModalContainer (props, context) {
|
|||||||
{showBackButton && (
|
{showBackButton && (
|
||||||
<div className="account-modal__back" onClick={backButtonAction}>
|
<div className="account-modal__back" onClick={backButtonAction}>
|
||||||
<i className="fa fa-angle-left fa-lg" />
|
<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>
|
</div>
|
||||||
)}
|
)}
|
||||||
<button className="account-modal__close" onClick={hideModal} />
|
<button className="account-modal__close" onClick={hideModal} />
|
||||||
|
@ -17,12 +17,14 @@
|
|||||||
top: 13px;
|
top: 13px;
|
||||||
left: 17px;
|
left: 17px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
&__text {
|
&__back-text {
|
||||||
margin-top: 2px;
|
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
line-height: 18px;
|
line-height: 18px;
|
||||||
|
padding-left: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
&__close {
|
&__close {
|
||||||
|
Loading…
Reference in New Issue
Block a user