修正在firefox下,人物定位不一致的问题

This commit is contained in:
Jeffrey Hsu 2024-11-10 08:10:11 +08:00
parent 80e73eae9f
commit ec75a16923

View File

@ -96,9 +96,10 @@ const backgroundStyle = computed(() => ({
</div>
<!-- 人物背景 -->
<div
class="invisible absolute top-0 -right-6 -bottom-6 opacity-0 transition-all sm:visible sm:opacity-100 lg:-top-28 lg:-right-28 lg:-bottom-10">
<img :src="getAssetURL('hoshino.png')" alt="" class="h-full" draggable="false"/>
<div class="invisible absolute top-0 -right-6 -bottom-6 opacity-0 transition-all
sm:visible sm:opacity-100 lg:-top-28 lg:-right-28 lg:-bottom-10"
>
<img :src="getAssetURL('hoshino.png')" alt="" class="float-right h-full" draggable="false"/>
</div>
</div>
<!-- 下箭头 -->