1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

Fix connect long URL styling (#8719)

* fix connect long URL styling
This commit is contained in:
Erik Marks 2020-06-01 15:28:05 -07:00 committed by GitHub
parent c8de0b70fa
commit 8afb295e1d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 2 deletions

View File

@ -38,7 +38,15 @@
color: $Grey-500; color: $Grey-500;
} }
&__text {
width: 100%;
text-overflow: ellipsis;
overflow: hidden;
/*rtl:ignore*/
direction: rtl;
}
&__subtitle { &__subtitle {
margin-top: 4px; margin-top: 4px;
} }
} }

View File

@ -22,7 +22,7 @@ export default class PermissionsConnectHeader extends Component {
return ( return (
<div className="permissions-connect-header__icon"> <div className="permissions-connect-header__icon">
<IconWithFallBack icon={ icon } name={ iconName } /> <IconWithFallBack icon={ icon } name={ iconName } />
<div className="permissions-connect-header__text">{iconName }</div> <div className="permissions-connect-header__text">{iconName}</div>
</div> </div>
) )
} }