We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bae2206 commit 734cf9cCopy full SHA for 734cf9c
1 file changed
layouts/partials/search-bar.html
@@ -1,9 +1,10 @@
1
-<div id="search-bar" class="h-full relative flex items-center overflow-visible">
+<div id="search-bar" class="h-full relative flex items-center overflow-visible" x-data="{ isSafari: /^((?!chrome|android).)*safari/i.test(navigator.userAgent) }">
2
<button
3
type="button"
4
aria-label="Search"
5
class="cursor-pointer flex items-center gap-2 p-2 rounded-lg bg-blue-700 border border-blue-500 text-white transition-colors focus:outline-none focus:ring focus:ring-blue-400 hover:bg-blue-800 hover:border-blue-400"
6
id="search-modal-trigger"
7
+ x-show="!isSafari"
8
>
9
<span class="icon-svg">
10
{{ partialCached "icon" "search" "search" }}
0 commit comments