check page: align share button with the page gutter

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.
This commit is contained in:
Bkk1234 committed 2026-11-04 02:05:50 +07:00
1 parent 29b126b188
commit 187da921f1
1 file changed
+4 -1
+4 -1
View File
@@ -55,7 +55,9 @@ export default function CheckView() {
</div> </div>
</div> </div>
</section> </section>
{/* ปุ่มแชร์หน้านี้ — ลิงก์สั้น ใช้ path ปัจจุบัน ไม่ฝังชื่อเว็บ */} {/* ปุ่มแชร์หน้านี้ — ลิงก์สั้น ใช้ path ปัจจุบัน ไม่ฝังชื่อเว็บ
ต้องอยู่ใน .mu-container ให้ขอบขวาเท่าหน้าอื่น (routes/stops) */}
<div className="mu-container">
<div className="mu-share-row"> <div className="mu-share-row">
<button type="button" className="mu-share-btn" id="share-btn"> <button type="button" className="mu-share-btn" id="share-btn">
<svg className="ic" aria-hidden="true"><use href="#ic-share-2" /></svg> <svg className="ic" aria-hidden="true"><use href="#ic-share-2" /></svg>
@@ -63,6 +65,7 @@ export default function CheckView() {
</button> </button>
<p className="mu-share-status" id="share-status" aria-live="polite" /> <p className="mu-share-status" id="share-status" aria-live="polite" />
</div> </div>
</div>
</> </>
); );