修正在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>
<!-- 人物背景 --> <!-- 人物背景 -->
<div <div class="invisible absolute top-0 -right-6 -bottom-6 opacity-0 transition-all
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"> 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"/> >
<img :src="getAssetURL('hoshino.png')" alt="" class="float-right h-full" draggable="false"/>
</div> </div>
</div> </div>
<!-- 下箭头 --> <!-- 下箭头 -->