pinafore/routes/_components/status/StatusSidebar.html
2018-02-22 09:30:37 -08:00

23 lines
444 B
HTML

<Avatar account={{status.account}}
className="status-sidebar"
size="{{isStatusInOwnThread ? 'medium' : 'small'}}" />
<style>
:global(.status-sidebar) {
grid-area: sidebar;
margin-right: 15px;
}
@media (max-width: 767px) {
:global(.status-sidebar) {
margin-right: 5px;
}
}
</style>
<script>
import Avatar from '../Avatar.html'
export default {
components: {
Avatar
}
}
</script>