💄 Update avatar list data width

This commit is contained in:
xtaodada 2024-12-19 13:46:21 +08:00
parent 9d769c8d10
commit da53317d51
Signed by: xtaodada
GPG Key ID: 4CBB3F4FA8C85659
2 changed files with 2 additions and 2 deletions

View File

@ -140,7 +140,7 @@ class AvatarListPlugin(Plugin):
level=character.level,
eidolon=character.rank,
rarity=self.fix_rarity(character.rarity),
icon=self.assets_service.avatar.icon(character.id, character.name).as_uri(),
icon=self.assets_service.avatar.square(character.id, character.name).as_uri(),
skills=self.get_skill_data(detail),
equipment=equip,
)

View File

@ -67,7 +67,7 @@
</span> -->
</div>
<img
class="size-[4.7rem] bg-card rounded"
class="bg-card rounded w-auto h-[4.7rem]"
src="{{ avatar_data.icon }}"
/>
</div>