diff --git a/frontend/public/sw.js b/frontend/public/sw.js index 4a8784b..8c5022c 100644 --- a/frontend/public/sw.js +++ b/frontend/public/sw.js @@ -15,7 +15,7 @@ - SW ใหม่ → skipWaiting + clients.claim + แจ้งหน้าเว็บ ============================================================ */ -const VERSION = "1.0.0"; +const VERSION = "1.0.1"; /* bump เมื่อแก้ UI เพื่อบังคับให้ cache เก่าถูกทิ้ง */ const CACHE = `atroute-${VERSION}`; const OFFLINE_URL = "/offline.html"; diff --git a/frontend/src/styles/pages/stops.css b/frontend/src/styles/pages/stops.css index 098c108..5c2de41 100644 --- a/frontend/src/styles/pages/stops.css +++ b/frontend/src/styles/pages/stops.css @@ -336,6 +336,19 @@ .mu-kpi-grid { grid-template-columns: 1fr; } .mu-search-tabs { width: 100%; } .mu-search-tab { flex: 1; justify-content: center; padding: 10px 12px; font-size: 0.85rem; } + + /* 3 แท็บบนจอแคบ: ข้อความไทยยาว → ให้ห่อเป็น 2 บรรทัดอย่างเรียบร้อย + และทุกแท็บสูงเท่ากัน (flex stretch) */ + .mu-search-tabs { align-items: stretch; } + .mu-search-tab { + min-height: 56px; + text-align: center; + line-height: 1.25; + padding: 10px 8px; + gap: 6px; + } + .mu-search-tab .ic { flex: none; } + .mu-search-tab span { display: block; } .mu-stop-action { flex-direction: column; align-items: flex-start; } /* กล่องรหัส: ย่อให้พอดีจอ 375px (5×40 + เครื่องหมาย + gap = ~244px) */ .mu-code-boxes { gap: 5px; }