Skip to content

Commit 467f23b

Browse files
authored
Change height to support single or double options
If the command palette has less than 3 options available, the list wrapper's box-shadow doesn't match. changing height to max-height solves this issue.
1 parent 4a1185b commit 467f23b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/components/CommandPalette.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@
212212
position: fixed;
213213
top: 0;
214214
left: 0;
215-
height: 100vh;
215+
max-height: 100vh;
216216
width: 100vw;
217217
background: transparent;
218218
display: flex;

0 commit comments

Comments
 (0)