diff --git a/404.html b/404.html index c67e8ab..ee14ebf 100644 --- a/404.html +++ b/404.html @@ -50,6 +50,7 @@ min-height: 100vh; display: flex; flex-direction: column; + overflow-x: hidden; } .container { max-width: 480px; @@ -59,6 +60,9 @@ display: flex; flex-direction: column; } + @media (max-width: 360px) { + .container { padding: 2rem 1rem; } + } /* Header */ .header { @@ -114,6 +118,7 @@ font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; + overflow-wrap: break-word; } .vehicle-text { font-size: 0.7rem; @@ -122,6 +127,7 @@ letter-spacing: 0.03em; color: var(--text-muted); margin-top: 0.2rem; + overflow-wrap: break-word; } .profile-type { display: inline-block; @@ -151,6 +157,8 @@ } .qr-section canvas { border-radius: 12px; + max-width: 100%; + height: auto; } .qr-label { font-size: 0.75rem; @@ -190,6 +198,7 @@ overflow: hidden; text-overflow: ellipsis; white-space: nowrap; + min-width: 0; /* required so ellipsis can truncate inside the flex parent — flex children default to min-width: auto, which refuses to shrink below intrinsic content width and would push the viewport sideways */ } .account-id-btn .copy-icon { font-size: 0.75rem; @@ -343,7 +352,7 @@