mirror of
https://github.com/elyby/accounts-frontend.git
synced 2024-12-27 15:30:37 +05:30
#189: improve appearance of long emails in forms
This commit is contained in:
parent
d1a1b2085b
commit
f376e12f3c
@ -33,7 +33,7 @@ export default class PermissionsBody extends BaseAuthBody {
|
||||
<Message {...messages.youAuthorizedAs} />
|
||||
</div>
|
||||
<div className={styles.authInfoEmail}>
|
||||
{user.email}
|
||||
{user.username}
|
||||
</div>
|
||||
</div>
|
||||
</PanelBodyHeader>
|
||||
|
@ -66,6 +66,9 @@
|
||||
|
||||
.currentAccountEmail {
|
||||
text-align: center;
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
|
||||
@ -77,4 +80,5 @@
|
||||
display: inline-block;
|
||||
white-space: normal;
|
||||
vertical-align: top;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user