fix(ui): let command rows shrink to their column
This commit is contained in:
1 parent
33dd285876
commit
ba85512ab3
2 files changed
+2
-2
No files matched your search
@@ -28,7 +28,7 @@ function set(i: number, argv: string[]) {
|
||||
<template>
|
||||
<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">
|
||||
<div v-for="(argv, i) in commands ?? []" :key="i" class="flex min-w-0 items-start gap-2">
|
||||
<span class="w-5 pt-2 text-right font-mono text-xs text-fg-subtle">{{ i + 1 }}</span>
|
||||
<Textarea
|
||||
:model-value="joinArgv(argv)"
|
||||
|
||||
Reference in new issue
Block a user