Skip to content

Commit 15b3383

Browse files
committed
fix: 修正 iPhone 場景卡片邊緣被切掉的問題
- 調整手機版卡片寬度計算,從 60px 改為 80px 邊距 - 移除 max-width 限制,讓卡片能正確響應式顯示 - 改善場景詳情列表項目的行高,提升可讀性
1 parent 727b2f0 commit 15b3383

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

style.css

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -243,10 +243,10 @@ body {
243243

244244
@media (max-width: 768px) {
245245
.scenario-item {
246-
flex: 0 0 calc(100vw - 60px);
246+
flex: 0 0 calc(100vw - 80px);
247247
padding: 20px;
248248
min-height: 400px;
249-
max-width: 320px;
249+
max-width: none;
250250
}
251251
}
252252

@@ -568,6 +568,7 @@ body {
568568
.scenario-details ul li {
569569
margin-bottom: 2px !important;
570570
font-size: 0.75rem;
571+
line-height: 1.3;
571572
}
572573
}
573574

0 commit comments

Comments
 (0)