Merge pull request #148 from looechao/fix-ThreeBarLogo

Fix: Replace Mobile Search Button with Three-bar-logo SVG, Retain Customizable Octocats
This commit is contained in:
MeiK
2024-07-02 10:20:53 +08:00
committed by GitHub

View File

@@ -8,7 +8,10 @@
<div class="Header-item d-md-none"> <div class="Header-item d-md-none">
<button class="Header-link btn-link js-details-target" type="button" <button class="Header-link btn-link js-details-target" type="button"
onclick="document.querySelector('#header-search').style.display = document.querySelector('#header-search').style.display == 'none'? 'block': 'none'"> onclick="document.querySelector('#header-search').style.display = document.querySelector('#header-search').style.display == 'none'? 'block': 'none'">
<img height="24" class="octicon octicon-three-bars" width="24" src="{{ .Site.Params.headerIcon }}"> <svg height="24" class="octicon octicon-three-bars" viewBox="0 0 16 16" version="1.1" width="24">
<path fill-rule="evenodd" d="M1 2.75A.75.75 0 011.75 2h12.5a.75.75 0 110 1.5H1.75A.75.75 0 011 2.75zm0 5A.75.75 0 011.75 7h12.5a.75.75 0 110 1.5H1.75A.75.75 0 011 7.75zM1.75 12a.75.75 0 100 1.5h12.5a.75.75 0 100-1.5H1.75z">
</path>
</svg>
</button> </button>
</div> </div>
<div style="display: none;" id="header-search" <div style="display: none;" id="header-search"