fix(ui): size the command list to its setting row
This commit is contained in:
1 parent
b70e791fed
commit
8ccac46fc9
2 files changed
+2
-2
No files matched your search
@@ -26,7 +26,7 @@ function set(i: number, argv: string[]) {
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="grid gap-2">
|
||||
<div class="grid w-full min-w-0 gap-2">
|
||||
<p v-if="!commands?.length && props.emptyText" class="text-xs text-fg-subtle">{{ props.emptyText }}</p>
|
||||
<div v-for="(argv, i) in commands ?? []" :key="i" class="flex items-start gap-2">
|
||||
<span class="w-5 pt-2 text-right font-mono text-xs text-fg-subtle">{{ i + 1 }}</span>
|
||||
|
||||
Reference in new issue
Block a user