🐛 修复旅行者角色卡角色图片显示不全问题

This commit is contained in:
Li Chuangbo 2022-10-13 16:30:19 +08:00
parent b122d840f5
commit 4076ae143d
No known key found for this signature in database

View File

@ -42,8 +42,8 @@
<div class="relative mb-4 overflow-hidden"> <div class="relative mb-4 overflow-hidden">
<!-- Character Background --> <!-- Character Background -->
<div <div
class="absolute w-full h-full -left-1/4 top-8 opacity-80 bg-cover bg-no-repeat bg-center" class="absolute w-full h-full -left-1/4 opacity-80 bg-no-repeat bg-center"
style="background-image: url('{{ character.image.banner.url }}');" style="background-image: url('{{ character.image.banner.url }}'); background-size: auto 100%;"
></div> ></div>
<div class="relative w-full flex p-5 space-x-8"> <div class="relative w-full flex p-5 space-x-8">
{% include 'genshin/player_card/constellations.html' %} {% include 'genshin/player_card/constellations.html' %}