mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-21 00:02:23 +00:00
fix: buttons are back to semi-bold
This commit is contained in:
@@ -70,7 +70,7 @@
|
||||
bind:this={msgInput}
|
||||
/>
|
||||
<Button
|
||||
size="xs"
|
||||
size="sm"
|
||||
on:click={async () => dispatch('save', deploymentMsg)}
|
||||
endIcon={{ icon: CornerDownLeft }}
|
||||
loading={loadingSave}
|
||||
|
||||
@@ -1712,7 +1712,7 @@
|
||||
{#if $workerTags?.length ?? 0 > 0}
|
||||
<div class="max-w-[200px] pr-8">
|
||||
<WorkerTagSelect
|
||||
inputClass="text-sm text-secondary !placeholder-secondary"
|
||||
inputClass="text-sm text-secondary !h-8 !placeholder-secondary"
|
||||
nullTag={script.language}
|
||||
placeholder={customUi?.tagSelectPlaceholder}
|
||||
bind:tag={script.tag}
|
||||
|
||||
@@ -528,7 +528,7 @@
|
||||
icon: Github
|
||||
}}
|
||||
>
|
||||
Use VScode
|
||||
VScode
|
||||
</Button>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
@@ -154,7 +154,7 @@
|
||||
variant === 'border' ? 'border' : '',
|
||||
ButtonType.FontSizeClasses[size],
|
||||
ButtonType.SpacingClasses[spacingSize][variant],
|
||||
'focus-visible:ring-2 font-normal',
|
||||
'focus-visible:ring-2 font-semibold',
|
||||
dropdownItems && dropdownItems.length > 0 ? 'rounded-l-md h-full' : 'rounded-md',
|
||||
'justify-center items-center text-center whitespace-nowrap inline-flex gap-2',
|
||||
btnClasses,
|
||||
|
||||
@@ -19,26 +19,26 @@
|
||||
const iconHeight = height || size
|
||||
</script>
|
||||
|
||||
{#if module.value.type === 'aiagent'}
|
||||
{#if module?.value?.type === 'aiagent'}
|
||||
<Bot size={16} class="text-violet-800 dark:text-violet-400" />
|
||||
{:else if module.value.type === 'rawscript'}
|
||||
{:else if module?.value?.type === 'rawscript'}
|
||||
<LanguageIcon lang={module.value.language} width={iconWidth} height={iconHeight} />
|
||||
{:else if module.summary === 'Terminate flow'}
|
||||
{:else if module?.summary === 'Terminate flow'}
|
||||
<Square {size} />
|
||||
{:else if module.value.type === 'identity'}
|
||||
{:else if module?.value?.type === 'identity'}
|
||||
<ArrowDown {size} />
|
||||
{:else if module.value.type === 'flow'}
|
||||
{:else if module?.value?.type === 'flow'}
|
||||
<BarsStaggered {size} />
|
||||
{:else if module.value.type === 'forloopflow' || module.value.type === 'whileloopflow'}
|
||||
{:else if module?.value?.type === 'forloopflow' || module?.value?.type === 'whileloopflow'}
|
||||
<Repeat {size} />
|
||||
{:else if module.value.type === 'branchone' || module.value.type === 'branchall'}
|
||||
{:else if module?.value?.type === 'branchone' || module?.value?.type === 'branchall'}
|
||||
<GitBranch {size} />
|
||||
{:else if module.value.type === 'script'}
|
||||
{#if module.value.path.startsWith('hub/')}
|
||||
{:else if module?.value?.type === 'script'}
|
||||
{#if module?.value?.path?.startsWith('hub/')}
|
||||
<IconedResourceType
|
||||
width={iconWidth.toString() + 'px'}
|
||||
height={iconHeight.toString() + 'px'}
|
||||
name={module.value.path.split('/')[2]}
|
||||
name={module?.value?.path?.split('/')[2]}
|
||||
silent={true}
|
||||
/>
|
||||
{:else}
|
||||
|
||||
Reference in New Issue
Block a user