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
@@ -242,7 +242,7 @@ export default function AdminRoute() {
|
||||
|
||||
if (!store) {
|
||||
return (
|
||||
<div className="flex min-h-screen items-center justify-center bg-[#0D0D0D] text-sm text-[#999]">
|
||||
<div className="flex min-h-dvh items-center justify-center bg-[#0D0D0D] text-sm text-[#999]">
|
||||
กำลังโหลดข้อมูลหลังบ้าน…
|
||||
</div>
|
||||
);
|
||||
@@ -252,7 +252,7 @@ export default function AdminRoute() {
|
||||
const locales = store.site.locales;
|
||||
|
||||
return (
|
||||
<div className="min-h-screen bg-[#0D0D0D] text-white">
|
||||
<div className="min-h-dvh bg-[#0D0D0D] text-white">
|
||||
<header className="sticky top-0 z-10 flex flex-wrap items-center justify-between gap-3 border-b border-[#242424] bg-[#0D0D0D]/95 px-6 py-4">
|
||||
<div>
|
||||
<h1 className="text-xl font-semibold">หลังบ้าน AlterFlixHub</h1>
|
||||
|
||||
@@ -59,7 +59,7 @@ export default function AdminLoginRoute() {
|
||||
}
|
||||
|
||||
return (
|
||||
<div className="flex min-h-screen items-center justify-center bg-[#0D0D0D] px-5 text-white">
|
||||
<div className="flex min-h-dvh items-center justify-center bg-[#0D0D0D] px-5 text-white">
|
||||
<form
|
||||
onSubmit={submit}
|
||||
className="w-full max-w-sm rounded-2xl border border-[#303030] bg-[#141414] p-6"
|
||||
|
||||
Reference in new issue
Block a user