Skip to content

Commit

Permalink
Relative scroll height (#118)
Browse files Browse the repository at this point in the history
* Relative scroll height

* nit

* nit
  • Loading branch information
huchenlei authored Jul 12, 2024
1 parent 605faf0 commit 5a998cd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/NodeSearchBox.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<AutoCompletePlus
:model-value="props.filters"
class="comfy-vue-node-search-box"
scrollHeight="28rem"
scrollHeight="40vh"
:placeholder="placeholder"
:input-id="inputId"
append-to="self"
Expand Down Expand Up @@ -126,7 +126,7 @@ const setHoverSuggestion = (index: number) => {

<style scoped>
.comfy-vue-node-search-container {
@apply flex justify-center items-center;
@apply flex justify-center items-center w-full min-w-96;
}
.comfy-vue-node-search-container * {
Expand All @@ -140,7 +140,7 @@ const setHoverSuggestion = (index: number) => {
}
.comfy-vue-node-search-box {
@apply min-w-96 w-full z-10;
@apply z-10 flex-grow;
}
.option-container {
Expand Down

0 comments on commit 5a998cd

Please sign in to comment.