mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-09-09 00:04:10 +00:00
fix: make group summary input width fit text content
Use field-sizing: content on the input so it adapts to the text width instead of stretching full width. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
bdc699d114
commit
756fdf50bc
@@ -82,12 +82,13 @@
|
||||
bind:this={textInputComponent}
|
||||
bind:value={summaryInput}
|
||||
size="xs"
|
||||
class="!bg-transparent !border-transparent !shadow-none !text-2xs !font-medium !p-0 !m-0 !min-w-0 w-full text-center !min-h-0 !h-auto nodrag nowheel pointer-events-auto"
|
||||
class="!bg-transparent !border-transparent !shadow-none !text-2xs !font-medium !p-0 !m-0 !min-w-0 !w-fit text-center !min-h-0 !h-auto nodrag nowheel pointer-events-auto"
|
||||
inputProps={{
|
||||
placeholder: 'Group',
|
||||
onblur: saveSummary,
|
||||
onkeydown: handleSummaryKeydown,
|
||||
spellcheck: false
|
||||
spellcheck: false,
|
||||
style: 'padding: 2px !important; field-sizing: content; min-width: 5ch !important'
|
||||
}}
|
||||
/>
|
||||
{:else}
|
||||
|
||||
Reference in New Issue
Block a user