pinafore/routes/_components/status/StatusAuthorHandle.html
Nolan Lawson 42be854521
upgrade to svelte 2.0 (#251)
* upgrade to svelte 2.0

* update svelte-loader to 2.9.0
2018-05-01 17:05:36 -07:00

20 lines
516 B
HTML

<span class="status-author-handle {isStatusInNotification ? 'status-in-notification' : '' }">
{'@' + originalAccount.acct}
</span>
<style>
.status-author-handle {
grid-area: author-handle;
align-self: center;
margin-left: 5px;
color: var(--deemphasized-text-color);
font-size: 1.1em;
min-width: 0;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.status-author-handle.status-in-notification {
color: var(--very-deemphasized-text-color);
}
</style>