Skip to content

Commit 4dafc58

Browse files
committed
Auto merge of #4018 - dmtrshat:master, r=Turbo87
Fix search form submit in Safari Safari cannot submit a form if the submit button inside it has the `display: none` property. This is a simple fix 🙃 Fixes #4019
2 parents a74e148 + b119e2d commit 4dafc58

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

app/components/header.module.css

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,10 @@
9999
}
100100

101101
.submit-button {
102-
display: none;
102+
position: absolute;
103+
visibility: hidden;
104+
width: 0;
105+
height: 0;
103106
}
104107

105108
.sep {

0 commit comments

Comments
 (0)