Skip to content

Commit 1547272

Browse files
authored
Fix Safari Bugs on iOS (#255)
* some crazy css * 16px to 1rem
1 parent 5eb7795 commit 1547272

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/pages/index.tsx

+3
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,9 @@ const PortalHomePage = ({
132132
<div className={styles.checkinButtons}>
133133
<input
134134
type="text"
135+
autoComplete="off"
136+
autoCorrect="off"
137+
autoCapitalize="off"
135138
placeholder="Enter event check-in code"
136139
className={styles.checkinInput}
137140
value={checkinCode}

src/styles/pages/Home.module.scss

+2-1
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,8 @@
221221
width: 0;
222222

223223
@media screen and (width <= vars.$breakpoint-md) {
224-
font-size: 0.75rem;
224+
// 1rem prevents auto zoom on iOS
225+
font-size: 1rem;
225226
line-height: 1.5rem;
226227
padding: 0.625rem 1.25rem;
227228
}

0 commit comments

Comments
 (0)