With other buttons disabled, don't show vertical divider right of search button

This commit is contained in:
Markus Brejla 2024-03-21 11:28:09 +01:00
parent 40b039a965
commit 612c6f6b8d

View File

@ -111,7 +111,11 @@
{{ if .enable }} {{ if .enable }}
<button <button
aria-label="search" aria-label="search"
{{ if and (not site.Params.navigation_button.enable) (not site.Params.theme_switcher)}}
class="border-border text-dark hover:text-primary dark:border-darkmode-border mr-5 inline-block border-r lg:border-r-0 pr-5 lg:pr-0 text-xl dark:text-white dark:hover:text-darkmode-primary"
{{ else }}
class="border-border text-dark hover:text-primary dark:border-darkmode-border mr-5 inline-block border-r pr-5 text-xl dark:text-white dark:hover:text-darkmode-primary" class="border-border text-dark hover:text-primary dark:border-darkmode-border mr-5 inline-block border-r pr-5 text-xl dark:text-white dark:hover:text-darkmode-primary"
{{ end }}
data-target="search-modal"> data-target="search-modal">
<i class="fa-solid fa-search"></i> <i class="fa-solid fa-search"></i>
</button> </button>