From 4c444b3d8d75364541bdb1d127b49c9d6ba0afa0 Mon Sep 17 00:00:00 2001 From: Bkk1234 Date: Fri, 23 Oct 2026 22:49:13 +0700 Subject: [PATCH] Remove the on-screen numpad from the bus stop code search The five code cells are now the only way to enter a stop code. The numpad was redundant on touch devices (the cells use inputMode=numeric, so the system keyboard already switches to digits) and it crowded the 375px layout. - StopsView.tsx: drop the .mu-numpad markup. - stops.search.ts: drop initNumpad(), its call and the pad show/hide toggle. - stops.css: drop all .mu-numpad rules. tsc clean, npm run build passes. --- frontend/src/components/views/StopsView.tsx | 13 ------ frontend/src/lib/ui/stops.search.ts | 49 ++------------------- frontend/src/styles/pages/stops.css | 20 --------- frontend/tsconfig.tsbuildinfo | 2 +- 4 files changed, 4 insertions(+), 80 deletions(-) diff --git a/frontend/src/components/views/StopsView.tsx b/frontend/src/components/views/StopsView.tsx index b5aab9a..73b1935 100644 --- a/frontend/src/components/views/StopsView.tsx +++ b/frontend/src/components/views/StopsView.tsx @@ -43,19 +43,6 @@ export default function StopsView() {

พิมพ์ตัวเลขในช่อง ระบบจะเติม 0 ให้อัตโนมัติเมื่อเว้นว่าง

-
- - - - - - - - - - - -
{/* โหมด 2: ชื่อสถานที่ */}