Skip to content

Commit 5a998cd

Browse files
authored
Relative scroll height (#118)
* Relative scroll height * nit * nit
1 parent 605faf0 commit 5a998cd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/components/NodeSearchBox.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<AutoCompletePlus
1212
:model-value="props.filters"
1313
class="comfy-vue-node-search-box"
14-
scrollHeight="28rem"
14+
scrollHeight="40vh"
1515
:placeholder="placeholder"
1616
:input-id="inputId"
1717
append-to="self"
@@ -126,7 +126,7 @@ const setHoverSuggestion = (index: number) => {
126126

127127
<style scoped>
128128
.comfy-vue-node-search-container {
129-
@apply flex justify-center items-center;
129+
@apply flex justify-center items-center w-full min-w-96;
130130
}
131131
132132
.comfy-vue-node-search-container * {
@@ -140,7 +140,7 @@ const setHoverSuggestion = (index: number) => {
140140
}
141141
142142
.comfy-vue-node-search-box {
143-
@apply min-w-96 w-full z-10;
143+
@apply z-10 flex-grow;
144144
}
145145
146146
.option-container {

0 commit comments

Comments
 (0)