From 187da921f10c6403c71fb6b26c3d39050a84714a Mon Sep 17 00:00:00 2001 From: Bkk1234 Date: Wed, 4 Nov 2026 02:05:50 +0700 Subject: [PATCH] check page: align share button with the page gutter MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The share row sat outside .mu-container, so its right edge was 15px from the viewport while routes/stops pages sit at 43px. Wrapped it in .mu-container — measured rightGap 43 on /check, same as /routes/:id and /stops/:code. --- frontend/src/components/views/CheckView.tsx | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/frontend/src/components/views/CheckView.tsx b/frontend/src/components/views/CheckView.tsx index 2dbaf5a..27b87ef 100644 --- a/frontend/src/components/views/CheckView.tsx +++ b/frontend/src/components/views/CheckView.tsx @@ -55,13 +55,16 @@ export default function CheckView() { - {/* ปุ่มแชร์หน้านี้ — ลิงก์สั้น ใช้ path ปัจจุบัน ไม่ฝังชื่อเว็บ */} -
- -

+ {/* ปุ่มแชร์หน้านี้ — ลิงก์สั้น ใช้ path ปัจจุบัน ไม่ฝังชื่อเว็บ + ต้องอยู่ใน .mu-container ให้ขอบขวาเท่าหน้าอื่น (routes/stops) */} +

+
+ +

+