fix(mobile): flex-center pill buttons and fix learning task card layout

- learning: task-list/snippet-list use column direction (row squeeze caused
  one-char-per-line vertical text in today-task cards)
- learning/profile: fold-toggle flex-centered
- login: code-button flex-centered
- practice: transcript-toggle / bubble-action / style-chip flex-centered
- questions: filter-chip flex-centered
- sop: modal-close flex-centered with 32px hit area
- web-ai: bubble-action flex-centered
This commit is contained in:
2026-07-20 09:03:58 +08:00
parent 0a5fc9a463
commit 578592b21d
7 changed files with 54 additions and 21 deletions
@@ -127,7 +127,7 @@ onShow(() => { resetPageScroll(); void load(); });
.points-link { display:block; min-height:40px; margin:8px 0 0 auto; background:transparent; color:var(--knowledge); font-size:13px; font-weight:800; }
.tab-scroll { margin-top: 18px; }
.tab-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.filter-chip { width: 100%; min-width: 0; min-height: 40px; padding: 5px 4px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--muted); font-size: 13px; line-height: 1.25; }
.filter-chip { display: flex; align-items: center; justify-content: center; width: 100%; min-width: 0; min-height: 40px; padding: 0 4px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--muted); font-size: 13px; line-height: 1.25; }
.filter-chip.active { border-color: #f2a7ad; background: var(--employee-primary-soft); color: var(--brand); font-weight: 900; }
.status-message, .empty { display: grid; gap: 6px; margin-top: 16px; padding: 16px; }
.status-message { border-radius: 12px; background: #fff0f1; color: #a9000d; }