diff options
author | amazingrise <8315221+AmazingRise@users.noreply.github.com> | 2020-09-15 04:03:46 +0300 |
---|---|---|
committer | amazingrise <8315221+AmazingRise@users.noreply.github.com> | 2020-09-15 04:03:46 +0300 |
commit | 9ed31830e9c9a923ef1bc355f167fd916a9e5c92 (patch) | |
tree | ad4a2f3644fda635a116a8ab9cc5ebaa193e5008 /layouts | |
parent | e8ba7703e53b2a5033caf7bb649b1d5d2c1f3b83 (diff) |
Fixed searchbox in dark mode, and improvements in dark mode text.
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/partials/extrabar.html | 4 | ||||
-rw-r--r-- | layouts/partials/mobile-header.html | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/layouts/partials/extrabar.html b/layouts/partials/extrabar.html index 65342eb..0fc84fb 100644 --- a/layouts/partials/extrabar.html +++ b/layouts/partials/extrabar.html @@ -1,7 +1,7 @@ <div ref="extraContainer" class="extra-container"> {{ if and (isset .Site.Params "googlesearchcode") (.IsHome) }} <script async src="https://cse.google.com/cse.js?cx={{.Site.Params.googleSearchCode}}"></script> - <div class="gcse-search"></div> + <div class="gcse-searchbox-only" mobileLayout="true"></div> {{ end }} {{ if and (not (.Site.Params.disableToC) ) (.IsPage) }} <div class="toc animated-visibility" :class="{ invisible: scrollY <= 140 }"> @@ -50,4 +50,4 @@ {{ end }} {{ end }} </div> -</div>
\ No newline at end of file +</div> diff --git a/layouts/partials/mobile-header.html b/layouts/partials/mobile-header.html index 6c1d521..2276cc9 100644 --- a/layouts/partials/mobile-header.html +++ b/layouts/partials/mobile-header.html @@ -4,7 +4,7 @@ <div class="drawer-menu"> {{ if and (isset .Site.Params "googlesearchcode") (.IsHome) }} <script async src="https://cse.google.com/cse.js?cx={{.Site.Params.googleSearchCode}}"></script> - <div class="gcse-search" mobileLayout="true"></div> + <div class="gcse-searchbox-only" mobileLayout="true"></div> {{ end }} {{ $current := .Permalink | absLangURL }} {{ range .Site.Menus.main }} @@ -69,4 +69,4 @@ {{ end }} </a> -</div>
\ No newline at end of file +</div> |