fix(ui): prevent text overflow in appearance list and adjust layout

Add text truncation to appearance names to prevent layout breakage.
Use clamp() for appearance list grid columns and update habitat detail spacing.
This commit is contained in:
2026-04-30 17:56:22 +08:00
parent 5b6b141602
commit 09ed83dc7e
2 changed files with 12 additions and 4 deletions

View File

@@ -94,7 +94,7 @@ onMounted(async () => {
</div>
</div>
<div class="detail-grid" aria-hidden="true">
<div class="habitat-detail-stack" aria-hidden="true">
<section class="detail-section skeleton-detail-section">
<div class="detail-section__header">
<Skeleton width="92px" height="24px" />
@@ -138,7 +138,7 @@ onMounted(async () => {
</template>
</PageHeader>
<div class="detail-grid">
<div class="habitat-detail-stack">
<DetailSection title="配方列表">
<EntityChips :items="habitat.recipe" />
</DetailSection>