1
0

fix: #1348 Fixed the follow button movement UI (#1383)

Co-authored-by: patak <matias.capeletto@gmail.com>
This commit is contained in:
Rajat Dwivedi 2023-01-23 16:35:46 +05:30 committed by GitHub
parent 2a836eda3d
commit 8b72e178d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -109,7 +109,7 @@ const isNotifiedOnPost = $computed(() => !!relationship?.notifying)
<button <button
:aria-pressed="isNotifiedOnPost" :aria-pressed="isNotifiedOnPost"
:aria-label="t('account.notifications_on_post_enable', { username: `@${account.username}` })" :aria-label="t('account.notifications_on_post_enable', { username: `@${account.username}` })"
rounded-full p2 border-1 transition-colors rounded-full text-sm p2 border-1 transition-colors
:class="isNotifiedOnPost ? 'text-primary border-primary hover:bg-red/20 hover:text-red hover:border-red' : 'border-base hover:text-primary'" :class="isNotifiedOnPost ? 'text-primary border-primary hover:bg-red/20 hover:text-red hover:border-red' : 'border-base hover:text-primary'"
@click="toggleNotifications" @click="toggleNotifications"
> >