feat: scroll to status (#127)

Co-authored-by: Daniel Roe <daniel@roe.dev>
This commit is contained in:
patak 2022-11-26 16:38:55 +01:00 committed by GitHub
parent e51ca06f97
commit 5c60497421
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 2 deletions

View file

@ -17,7 +17,7 @@ const visibility = $computed(() => STATUS_VISIBILITIES.find(v => v.value === sta
</script>
<template>
<div flex flex-col gap-2 py3 px-4>
<div flex flex-col gap-2 py3 px-4 :id="`status-${status.id}`">
<AccountInfo :account="status.account" />
<StatusReplyingTo v-if="status.inReplyToAccountId" :status="status" />
<StatusSpoiler :enabled="status.sensitive">