Skip to content

Commit eabeea7

Browse files
fix: offset floating search button above chat widget
Search button uses position:fixed via theme CSS. Added inline bottom:72px to push it above the chat widget button.
1 parent 5b9dc07 commit eabeea7

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

_layouts/default.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,12 @@ <h2 class="text-delta">Table of contents</h2>
189189
</div>
190190

191191
{% if site.search_enabled != false %}
192+
{% if site.search.button %}
193+
<a href="#" id="search-button" class="search-button" style="bottom: 72px;">
194+
<svg viewBox="0 0 24 24" class="icon"><use xlink:href="#svg-search"></use></svg>
195+
</a>
196+
{% endif %}
197+
192198
<div class="search-overlay"></div>
193199
{% endif %}
194200
</div>

0 commit comments

Comments
 (0)