Skip to content

Commit 4b0652e

Browse files
authored
Update CommandPalette.svelte
Change height for inner content instead of parent #wrapper.
1 parent 467f23b commit 4b0652e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/lib/components/CommandPalette.svelte

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@
212212
position: fixed;
213213
top: 0;
214214
left: 0;
215-
max-height: 100vh;
215+
height: 100vh;
216216
width: 100vw;
217217
background: transparent;
218218
display: flex;
@@ -232,6 +232,7 @@
232232
width: 60%;
233233
max-width: 640px;
234234
max-height: 400px;
235+
height: fit-content;
235236
margin: 0 auto;
236237
display: flex;
237238
flex-direction: column;

0 commit comments

Comments
 (0)