mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-12 15:44:06 -08:00
fix(editor): Fix design system form component sizing (#10961)
This commit is contained in:
parent
af20ccbbad
commit
cf153ea085
|
@ -193,6 +193,7 @@ defineExpose({ inputRef });
|
|||
:label="label"
|
||||
:tooltip-text="tooltipText"
|
||||
:required="required && showRequiredAsterisk"
|
||||
:size="labelSize"
|
||||
>
|
||||
<template #content>
|
||||
{{ tooltipText }}
|
||||
|
@ -210,6 +211,7 @@ defineExpose({ inputRef });
|
|||
:label="label"
|
||||
:tooltip-text="tooltipText"
|
||||
:required="required && showRequiredAsterisk"
|
||||
:size="labelSize"
|
||||
>
|
||||
<div :class="showErrors ? $style.errorInput : ''" @keydown.stop @keydown.enter="onEnter">
|
||||
<slot v-if="hasDefaultSlot" />
|
||||
|
@ -223,6 +225,7 @@ defineExpose({ inputRef });
|
|||
:disabled="disabled"
|
||||
:name="name"
|
||||
:teleported="teleported"
|
||||
:size="tagSize"
|
||||
@update:model-value="onUpdateModelValue"
|
||||
@focus="onFocus"
|
||||
@blur="onBlur"
|
||||
|
@ -246,6 +249,7 @@ defineExpose({ inputRef });
|
|||
:maxlength="maxlength"
|
||||
:autocomplete="autocomplete"
|
||||
:disabled="disabled"
|
||||
:size="tagSize"
|
||||
@update:model-value="onUpdateModelValue"
|
||||
@blur="onBlur"
|
||||
@focus="onFocus"
|
||||
|
|
|
@ -5,7 +5,7 @@ import N8nIcon from '../N8nIcon';
|
|||
import N8nText from '../N8nText';
|
||||
import N8nTooltip from '../N8nTooltip';
|
||||
|
||||
const SIZE = ['small', 'medium'] as const;
|
||||
const SIZE = ['small', 'medium', 'large'] as const;
|
||||
|
||||
interface InputLabelProps {
|
||||
compact?: boolean;
|
||||
|
|
Loading…
Reference in a new issue