Rollup merge of #93188 - jsha:fix-safari-bumpy-search, r=camelid
rustdoc: fix bump down typing search on Safari Fixes #93184. For some reason, if the search input doesn't have a previous sibling, typing in the search box increases the search-container's size by about 5px on the bottom. Putting in a dummy sibling fixes it. https://rustdoc.crud.net/jsha/fix-safari-bumpy-search/std/string/struct.String.html r? `@camelid`
This commit is contained in:
commit
cce8023b45
@ -117,6 +117,7 @@
|
|||||||
</div> {#- -#}
|
</div> {#- -#}
|
||||||
<form class="search-form"> {#- -#}
|
<form class="search-form"> {#- -#}
|
||||||
<div class="search-container"> {#- -#}
|
<div class="search-container"> {#- -#}
|
||||||
|
<span></span> {#- This empty span is a hacky fix for Safari - See #93184 -#}
|
||||||
<input {# -#}
|
<input {# -#}
|
||||||
class="search-input" {# -#}
|
class="search-input" {# -#}
|
||||||
name="search" {# -#}
|
name="search" {# -#}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user