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
+16 -14
+16 -14
View File
@@ -183,20 +183,22 @@
</span> </span>
{/if} {/if}
</Menu> </Menu>
<div {#if $profile?.user?.local_user_view.person.avatar}
class="absolute right-0 -z-10 h-full <div
overflow-hidden w-full" class="absolute right-0 -z-10 h-full
style="border-radius: inherit;" overflow-hidden w-full ml-auto"
> style="border-radius: inherit;"
<img >
src={optimizeImageURL( <img
$profile?.user?.local_user_view.person.avatar ?? '', src={optimizeImageURL(
32 $profile?.user?.local_user_view.person.avatar ?? '',
)} 32
class="blur-2xl -z-10 ml-auto object-cover w-48 opacity-50" )}
alt="" class="blur-2xl -z-10 object-cover w-48 h-48 opacity-20 dark:opacity-50 ml-auto"
/> alt=""
</div> />
</div>
{/if}
<Profile placement="top" /> <Profile placement="top" />
</div> </div>
</nav> </nav>