icon ปุ่ม header อยู่กึ่งกลางบนจอสัมผัส: touch-44 บังคับปุ่ม 44px แต่ปุ่ม icon เดี่ยวไม่มี flex center ทำให้ icon ชิดซ้าย (แก้ที่ media query เดิมจุดเดียว)
Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
parent
1c2f4c834a
commit
3026e30b34
1 changed files with 5 additions and 0 deletions
|
|
@ -90,5 +90,10 @@
|
|||
header .touch-44 > div > a {
|
||||
min-height: 2.75rem;
|
||||
min-width: 2.75rem;
|
||||
/* min 44px ทำให้ปุ่ม icon เดี่ยวกว้างเกิน content — ต้อง center icon
|
||||
ไม่งั้นชิดซ้าย+ลอยตาม baseline (ปุ่ม dropdown มี flex อยู่แล้ว ไม่กระทบ) */
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue