fix(ui): search box overlaps the sidebar navigation (#6176)
This commit is contained in:
@@ -12,7 +12,7 @@
|
|||||||
<div class="pb-4">Deploy resources, like Applications, Databases, Services...</div>
|
<div class="pb-4">Deploy resources, like Applications, Databases, Services...</div>
|
||||||
<div x-data="searchResources()">
|
<div x-data="searchResources()">
|
||||||
@if ($current_step === 'type')
|
@if ($current_step === 'type')
|
||||||
<div x-init="window.addEventListener('scroll', () => isSticky = window.pageYOffset > 100)" class="sticky top-0 z-50 py-2">
|
<div x-init="window.addEventListener('scroll', () => isSticky = window.pageYOffset > 100)" class="sticky z-10 top-10 py-2">
|
||||||
<input autocomplete="off" x-ref="searchInput" class="input-sticky"
|
<input autocomplete="off" x-ref="searchInput" class="input-sticky"
|
||||||
:class="{ 'input-sticky-active': isSticky }" x-model="search" placeholder="Type / to search..."
|
:class="{ 'input-sticky-active': isSticky }" x-model="search" placeholder="Type / to search..."
|
||||||
@keydown.window.slash.prevent="$refs.searchInput.focus()">
|
@keydown.window.slash.prevent="$refs.searchInput.focus()">
|
||||||
|
Reference in New Issue
Block a user