#189: improve appearance of long emails in forms

This commit is contained in:
SleepWalker 2016-08-27 13:46:22 +03:00
parent d1a1b2085b
commit f376e12f3c
2 changed files with 5 additions and 1 deletions

View File

@ -33,7 +33,7 @@ export default class PermissionsBody extends BaseAuthBody {
<Message {...messages.youAuthorizedAs} /> <Message {...messages.youAuthorizedAs} />
</div> </div>
<div className={styles.authInfoEmail}> <div className={styles.authInfoEmail}>
{user.email} {user.username}
</div> </div>
</div> </div>
</PanelBodyHeader> </PanelBodyHeader>

View File

@ -66,6 +66,9 @@
.currentAccountEmail { .currentAccountEmail {
text-align: center; text-align: center;
text-overflow: ellipsis;
overflow: hidden;
line-height: 1.2;
} }
@ -77,4 +80,5 @@
display: inline-block; display: inline-block;
white-space: normal; white-space: normal;
vertical-align: top; vertical-align: top;
max-width: 100%;
} }