Skip to content

Commit bc8ef4c

Browse files
committed
rustdoc: fix bump down typing search on Safari
1 parent 84322ef commit bc8ef4c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/librustdoc/html/templates/page.html

+1
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ <h2 class="location"></h2>
117117
</div> {#- -#}
118118
<form class="search-form"> {#- -#}
119119
<div class="search-container"> {#- -#}
120+
<span></span> {#- This empty span is a hacky fix for Safari - See #93184 -#}
120121
<input {# -#}
121122
class="search-input" {# -#}
122123
name="search" {# -#}

0 commit comments

Comments
 (0)