Skip to content

Commit 05bf6ff

Browse files
committed
Fix crash on Mobile Safari
1 parent 34106bc commit 05bf6ff

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

src/pages/welcome.css

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -141,12 +141,15 @@
141141
}
142142

143143
transition: all 0.3s var(--timing-function) 0.1s;
144-
&:active {
145-
transform: scale(1.05);
146144

147-
&::after {
148-
/* move the glare when active */
149-
background-position: -10px -10px;
145+
@media (hover: hover) {
146+
&:active {
147+
transform: scale(1.05);
148+
149+
&::after {
150+
/* move the glare when active */
151+
background-position: -10px -10px;
152+
}
150153
}
151154
}
152155

0 commit comments

Comments
 (0)