fix(css): Safari/iOS parity + @layer base ให้ utility ยังชนะ
- iOS Safari: ฟอร์ม ≥16px บนมือถือ (กัน auto-zoom โดยไม่ต้องล็อก user-scalable), input[type=search] appearance:none, tap-highlight transparent, text-size-adjust 100% - ย้ายบล็อก cross-engine เข้า @layer base — เดิม unlayered ทับ text-sm ทำให้ desktop เพี้ยนเป็น 16px - admin 3 จุด min-h-screen → min-h-dvh - DESIGN.md: ขยายหัวข้อเป็น Chromium/Firefox/Safari + กฎ @layer · sw VERSION v2.0.3
This commit is contained in:
1 parent
301ad22a39
commit
2eb625c8bc
7 files changed
+68
-37
No files matched your search
@@ -4,7 +4,7 @@
|
||||
* (ห้ามประกาศ inputClass/labelClass ซ้ำใน component)
|
||||
*/
|
||||
export const inputClass =
|
||||
"w-full rounded-lg border border-[#303030] bg-[#141414] px-3 py-2 text-sm text-white outline-none transition focus:border-[#A92626] focus-visible:ring-2 focus-visible:ring-[#A92626]/40";
|
||||
"w-full rounded-lg border border-[#303030] bg-[#141414] px-3 py-2 text-base text-white outline-none transition focus:border-[#A92626] focus-visible:ring-2 focus-visible:ring-[#A92626]/40 sm:text-sm";
|
||||
|
||||
export const labelClass = "flex flex-col gap-1.5 text-xs text-[#999]";
|
||||
|
||||
|
||||
Reference in new issue
Block a user