Skip to content

Commit 2e864cd

Browse files
authored
Merge pull request #2321 from devdanzin/fix_theme_icon
Fix theme icon positioning when the page shrinks (fix #2320)
2 parents b2f8784 + 278863b commit 2e864cd

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

docs/reST/themes/classic/elements.html

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,9 @@ <h5>pygame-ce documentation</h5>
2222
<a href="{{ pathto(master_doc) }}">Help Contents</a> ||
2323
<a href="{{ pathto('genindex') }}">Reference Index</a>
2424
</div>
25-
<div class="nav-theme-container">
25+
<div class="searchbar-container">
2626
<img class="theme-icon" data-theme="dark-theme" src="{{ pathto('_static/light-theme-icon.svg', 1) }}" width="24" height="24" alt="Light Theme Icon">
2727
<img class="theme-icon" data-theme="light-theme" src="{{ pathto('_static/dark-theme-icon.svg', 1) }}" width="24" height="24" alt="Dark Theme Icon">
28-
</div>
29-
<div class="searchbar-container">
3028
<form action="{{ pathto('search') }}" method="get" class="searchbar-form" style="display:inline;float:right;">
3129
<input name="q" value="" type="text">
3230
<img class="searchbar-button" src="{{ pathto('_static/searchbar-icon.svg', 1) }}" alt="Search">

0 commit comments

Comments
 (0)