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:
1 parent
29b126b188
commit
187da921f1
1 file changed
+10
-7
@@ -55,13 +55,16 @@ export default function CheckView() {
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
{/* ปุ่มแชร์หน้านี้ — ลิงก์สั้น ใช้ path ปัจจุบัน ไม่ฝังชื่อเว็บ */}
|
||||
<div className="mu-share-row">
|
||||
<button type="button" className="mu-share-btn" id="share-btn">
|
||||
<svg className="ic" aria-hidden="true"><use href="#ic-share-2" /></svg>
|
||||
<span data-i18n="share.label">แชร์หน้านี้</span>
|
||||
</button>
|
||||
<p className="mu-share-status" id="share-status" aria-live="polite" />
|
||||
{/* ปุ่มแชร์หน้านี้ — ลิงก์สั้น ใช้ path ปัจจุบัน ไม่ฝังชื่อเว็บ
|
||||
ต้องอยู่ใน .mu-container ให้ขอบขวาเท่าหน้าอื่น (routes/stops) */}
|
||||
<div className="mu-container">
|
||||
<div className="mu-share-row">
|
||||
<button type="button" className="mu-share-btn" id="share-btn">
|
||||
<svg className="ic" aria-hidden="true"><use href="#ic-share-2" /></svg>
|
||||
<span data-i18n="share.label">แชร์หน้านี้</span>
|
||||
</button>
|
||||
<p className="mu-share-status" id="share-status" aria-live="polite" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</>
|
||||
|
||||
Reference in new issue
Block a user