Pin searchbox at top when node library scrolls (#811)

* minor style fix

* nit

* Pin searchbox at top when node library scrolls
This commit is contained in:
Chenlei Hu
2024-09-13 10:50:06 +09:00
committed by GitHub
parent d8d6fa86e4
commit eb45cca031
2 changed files with 42 additions and 42 deletions

View File

@@ -18,7 +18,10 @@
@click="$emit('showFilter', $event)"
/>
</IconField>
<div class="search-filters" v-if="filters">
<div
class="search-filters pt-2 flex flex-wrap gap-2"
v-if="filters?.length"
>
<SearchFilterChip
v-for="filter in filters"
:key="filter.id"
@@ -92,8 +95,4 @@ const handleInput = (event: Event) => {
width: auto;
border: none !important;
}
.search-filters {
@apply pt-2 flex flex-wrap gap-2;
}
</style>