Skip to content

Commit

Permalink
Fix 404 search input style in iOS Safari
Browse files Browse the repository at this point in the history
  • Loading branch information
rakyi committed Oct 1, 2024
1 parent f0ecaf4 commit 7a13737
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions site/owid.scss
Original file line number Diff line number Diff line change
Expand Up @@ -821,10 +821,12 @@ a.ref sup {
.NotFoundPageForm__input {
@include body-3-medium;
color: $blue-90;
background: white;
width: 100%;
height: 48px;
padding: 0 16px;
border: 1px solid $blue-20;
border-radius: 0;
padding-right: 48px;

&:focus {
Expand All @@ -835,6 +837,10 @@ a.ref sup {
&::placeholder {
color: $blue-50;
}

@include sm-only {
font-size: 16px; // Prevents auto-zoom in iOS Safari.
}
}

.NotFoundPageForm__button {
Expand Down

0 comments on commit 7a13737

Please sign in to comment.