Pinafore-Web-Client-Frontend/routes/_components/status/StatusSidebar.html

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>