fix: tweak profile blur

This commit is contained in:
Xylight committed 2024-08-18 14:40:02 -07:00
1 parent 1f0165a78c
commit d940b374ec
1 file changed
+4 -2
+4 -2
View File
@@ -183,9 +183,10 @@
</span> </span>
{/if} {/if}
</Menu> </Menu>
{#if $profile?.user?.local_user_view.person.avatar}
<div <div
class="absolute right-0 -z-10 h-full class="absolute right-0 -z-10 h-full
overflow-hidden w-full" overflow-hidden w-full ml-auto"
style="border-radius: inherit;" style="border-radius: inherit;"
> >
<img <img
@@ -193,10 +194,11 @@
$profile?.user?.local_user_view.person.avatar ?? '', $profile?.user?.local_user_view.person.avatar ?? '',
32 32
)} )}
class="blur-2xl -z-10 ml-auto object-cover w-48 opacity-50" class="blur-2xl -z-10 object-cover w-48 h-48 opacity-20 dark:opacity-50 ml-auto"
alt="" alt=""
/> />
</div> </div>
{/if}
<Profile placement="top" /> <Profile placement="top" />
</div> </div>
</nav> </nav>