Skip to content

Commit 70dcccc

Browse files
committed
fix: wip
1 parent 522a5da commit 70dcccc

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

docs-v3/components/SearchInput.vue

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<div class="relative max-w-md">
2+
<div class="relative w-full max-w-md lg:max-w-md">
33
<button
44
@click="openSearchModal"
55
class="flex items-center w-full px-3 py-2 text-left border border-gray-300 dark:border-gray-600 rounded-md bg-white dark:bg-gray-800 hover:bg-gray-50 dark:hover:bg-gray-700/50 focus:outline-none focus:ring-2 focus:ring-primary-500 focus:border-primary-500 transition-colors group"
@@ -35,8 +35,6 @@ const isMac = computed(() => {
3535
})
3636
3737
const openSearchModal = () => {
38-
console.log('🔍 Search input button clicked')
3938
openModal()
40-
console.log('📞 openModal() called from SearchInput')
4139
}
4240
</script>

docs-v3/components/TheHeader.vue

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,10 @@
6464
</div>
6565

6666
<!-- Mobile search -->
67-
<div class="lg:hidden px-4 pb-4">
68-
<SearchInput />
67+
<div class="lg:hidden px-4 pb-4 bg-white dark:bg-gray-900 border-t border-gray-200 dark:border-gray-700">
68+
<div class="pt-4">
69+
<SearchInput />
70+
</div>
6971
</div>
7072
</header>
7173
</template>

0 commit comments

Comments
 (0)