fix classes

feature/default_network_editable
Erik Marks 5 years ago
parent 8bf1410f06
commit 14a5e77edd
  1. 20
      ui/app/pages/permissions-connect/redirect/index.scss
  2. 16
      ui/app/pages/permissions-connect/redirect/permissions-redirect.component.js

@ -1,24 +1,10 @@
.permissions-redirect-container { .permissions-redirect {
display: flex; display: flex;
border: none;
box-shadow: none;
width: 100%;
margin-top: 2px;
height: 100%; height: 100%;
flex-direction: column;
&__content {
display: flex;
width: 100%;
height: 144px;
margin-top: 140px;
padding-top: 8px;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
}
}
.permission-result { &__result {
@extend %header--24; @extend %header--24;
display: flex; display: flex;
@ -27,6 +13,7 @@
align-items: center; align-items: center;
text-align: center; text-align: center;
color: $Black-100; color: $Black-100;
padding-bottom: 30%;
&__icons { &__icons {
display: flex; display: flex;
@ -92,4 +79,5 @@
.icon-with-fallback__identicon-border { .icon-with-fallback__identicon-border {
position: absolute; position: absolute;
} }
}
} }

@ -8,25 +8,23 @@ export default function PermissionsRedirect ({ domainMetadata }) {
const t = useContext(I18nContext) const t = useContext(I18nContext)
return ( return (
<div className="page-container permissions-redirect-container"> <div className="permissions-redirect">
<div className="permissions-redirect-container__content"> <div className="permissions-redirect__result">
<div className="permission-result">
{ t('connecting') } { t('connecting') }
<div className="permission-result__icons"> <div className="permissions-redirect__result__icons">
<IconWithFallBack icon={domainMetadata.icon} name={domainMetadata.name} /> <IconWithFallBack icon={domainMetadata.icon} name={domainMetadata.name} />
<div className="permission-result__center-icon"> <div className="permissions-redirect__result__center-icon">
<span className="permission-result__check" /> <span className="permissions-redirect__result__check" />
{ renderBrokenLine() } { renderBrokenLine() }
</div> </div>
<div className="permission-result__identicon-container"> <div className="permissions-redirect__result__identicon-container">
<div className="permission-result__identicon-border"> <div className="permissions-redirect__result__identicon-border">
<img src="/images/logo/metamask-fox.svg" /> <img src="/images/logo/metamask-fox.svg" />
</div> </div>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
</div>
) )
function renderBrokenLine () { function renderBrokenLine () {

Loading…
Cancel
Save