Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4dcc3b4

Browse files
authored
Remove #searchbox on mobile to fix a layout bug (#76)
1 parent 053ee9a commit 4dcc3b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python_docs_theme/layout.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ <h3>{{ _('Navigation') }}</h3>
9090
</a>
9191
<div class="version_switcher_placeholder"></div>
9292
{%- if pagename != "search" and builder != "singlehtml" %}
93-
<form id="searchbox" role="search" class="search" action="{{ pathto('search') }}" method="get">
93+
<form role="search" class="search" action="{{ pathto('search') }}" method="get">
9494
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" class="search-icon">
9595
<path fill-rule="nonzero"
9696
d="M15.5 14h-.79l-.28-.27a6.5 6.5 0 001.48-5.34c-.47-2.78-2.79-5-5.59-5.34a6.505 6.505 0 00-7.27 7.27c.34 2.8 2.56 5.12 5.34 5.59a6.5 6.5 0 005.34-1.48l.27.28v.79l4.25 4.25c.41.41 1.08.41 1.49 0 .41-.41.41-1.08 0-1.49L15.5 14zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z" fill="#444"></path>

0 commit comments

Comments
 (0)