Add button-input

This commit is contained in:
Jon Staab 2026-07-03 13:24:52 -07:00
parent b8f64a5f49
commit ebefc83ef8
2 changed files with 6 additions and 1 deletions

View file

@ -180,7 +180,7 @@
</div> </div>
<Button <Button
data-tip="Add an image" data-tip="Add an image"
class="button button-neutral tip" class="button button-neutral button-input tip"
onclick={selectFiles} onclick={selectFiles}
disabled={loading}> disabled={loading}>
{#if $uploading} {#if $uploading}

View file

@ -102,6 +102,11 @@
.button-xs { .button-xs {
@apply h-7 gap-1 rounded-xl px-2 text-xs; @apply h-7 gap-1 rounded-xl px-2 text-xs;
} }
/* for a button beside an .input/.input-editor in a flex row: stretch to the
row height instead of fixing one, since input height varies by theme */
.button-input {
@apply h-auto self-stretch;
}
/* shapes */ /* shapes */
.button-block { .button-block {