Fixed ellipsis and loong URL (finally) (#71)

This commit is contained in:
Nicolas Lœuillet 2017-04-27 12:31:22 +02:00 committed by Nicolas Perriault
parent 2de53bd103
commit f983e00387

View File

@ -226,28 +226,19 @@ body {
/* Status text content rules */ /* Status text content rules */
.attachment { .attachment, .hashtag, .ellipsis {
white-space: pre-wrap; white-space: pre-wrap;
word-wrap: break-word; word-wrap: break-word;
} }
.hashtag { .ellipsis:after {
white-space: pre-wrap; content:"…"
word-wrap: break-word;
}
.ellipsis {
display: block;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
} }
.invisible { .invisible {
display: none; display: none;
} }
/* Account rules */ /* Account rules */
.account-detail { .account-detail {
text-align:center; text-align:center;
@ -270,12 +261,10 @@ body {
font-weight: bold; font-weight: bold;
} }
.account-detail .account-username { .account-detail .account-username {
display: block; display: block;
} }
.account-detail .account-note { .account-detail .account-note {
display: block; display: block;
padding: 5px 15px 15px 15px; padding: 5px 15px 15px 15px;