Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

fix: normalize field label spacing (#42670)

yyhe811c23d3702
diff --git a/web/app/(shareLayout)/webapp-reset-password/set-password/page.tsx b/web/app/(shareLayout)/webapp-reset-password/set-password/page.tsx
index 03ee325dcfe..6708d402398 100644
--- a/web/app/(shareLayout)/webapp-reset-password/set-password/page.tsx
+++ b/web/app/(shareLayout)/webapp-reset-password/set-password/page.tsx
@@ -102,40 +102,42 @@ const ChangePasswordForm = () => {
<div className="mx-auto mt-6 w-full">
<Form className="bg-white" onFormSubmit={() => void handleChangePassword()}>
<Field name="password" className="mb-5">
- <FieldLabel className="py-0 system-md-semibold text-text-secondary">
- {t(($) => $['account.newPassword'], { ns: 'common' })}
- </FieldLabel>
- <InputGroup>
- <InputGroupInput
- type={showPassword ? 'text' : 'password'}
- autoComplete="new-password"
- spellCheck={false}
- value={password}
- onValueChange={setPassword}
- placeholder={t(($) => $.passwordPlaceholder, { ns: 'login' }) || ''}
- />
- <InputGroupAddon align="inline-end">
- <IconButton
- aria-label={t(($) => $[showPassword ? 'hidePassword' : 'showPassword'], {
- ns: 'login',
- })}
- onClick={() => setShowPassword(!showPassword)}
- >
- <span
- className={
- showPassword ? 'i-ri-eye-off-line size-4' : 'i-ri-eye-line size-4'
- }
- aria-hidden="true"
- />
- </IconButton>
- </InputGroupAddon>
- </InputGroup>
+ <div className="grid gap-0">
+ <FieldLabel className="system-md-semibold">
+ {t(($) => $['account.newPassword'], { ns: 'common' })}
+ </FieldLabel>
+ <InputGroup>
+ <InputGroupInput
+ type={showPassword ? 'text' : 'password'}
+ autoComplete="new-password"
+ spellCheck={false}
+ value={password}
+ onValueChange={setPassword}
+ placeholder={t(($) => $.passwordPlaceholder, { ns: 'login' }) || ''}
+ />
+ <InputGroupAddon align="inline-end">
+ <IconButton
+ aria-label={t(($) => $[showPassword ? 'hidePassword' : 'showPassword'], {
+ ns: 'login',
+ })}
+ onClick={() => setShowPassword(!showPassword)}
+ >
+ <span
+ className={
+ showPassword ? 'i-ri-eye-off-line size-4' : 'i-ri-eye-line size-4'
+ }
+ aria-hidden="true"
+ />
+ </IconButton>
+ </InputGroupAddon>
+ </InputGroup>
+ </div>
<FieldDescription className="py-0 body-xs-regular text-text-secondary">
{t(($) => $['error.passwordInvalid'], { ns: 'login' })}
</FieldDescription>
</Field>
- <Field name="confirmPassword" className="mb-5">
- <FieldLabel className="py-0 system-md-semibold text-text-secondary">
+ <Field name="confirmPassword" className="mb-5 gap-0">
+ <FieldLabel className="system-md-semibold">
{t(($) => $['account.confirmPassword'], { ns: 'common' })}
</FieldLabel>
<InputGroup>
diff --git a/web/app/account/(commonLayout)/account-page/index.tsx b/web/app/account/(commonLayout)/account-page/index.tsx
index 51177d7de45..ac7d6121d5d 100644
--- a/web/app/account/(commonLayout)/account-page/index.tsx
+++ b/web/app/account/(commonLayout)/account-page/index.tsx
@@ -303,11 +303,11 @@ export default function AccountPage() {
: t(($) => $['account.setPassword'], { ns: 'common' })}
</div>
{userProfile.is_password_set && (
- <Field name="current-password" className="gap-0">
- <FieldLabel className="py-0 system-sm-semibold text-text-secondary">
+ <Field name="current-password">
+ <FieldLabel className="system-sm-semibold">
{t(($) => $['account.currentPassword'], { ns: 'common' })}
</FieldLabel>
- <InputGroup className="mt-2">
+ <InputGroup>
<InputGroupInput
type={showCurrentPassword ? 'text' : 'password'}
value={currentPassword}
@@ -329,13 +329,13 @@ export default function AccountPage() {
</InputGroup>
</Field>
)}
- <Field name="new-password" className="mt-8 gap-0">
- <FieldLabel className="py-0 system-sm-semibold text-text-secondary">
+ <Field name="new-password" className="mt-8">
+ <FieldLabel className="system-sm-semibold">
{userProfile.is_password_set
? t(($) => $['account.newPassword'], { ns: 'common' })
: t(($) => $['account.password'], { ns: 'common' })}
</FieldLabel>
- <InputGroup className="mt-2">
+ <InputGroup>
<InputGroupInput
type={showPassword ? 'text' : 'password'}
value={password}
@@ -356,11 +356,11 @@ export default function AccountPage() {
</InputGroupAddon>
</InputGroup>
</Field>
- <Field name="confirm-password" className="mt-8 gap-0">
- <FieldLabel className="py-0 system-sm-semibold text-text-secondary">
+ <Field name="confirm-password" className="mt-8">
+ <FieldLabel className="system-sm-semibold">
{t(($) => $['account.confirmPassword'], { ns: 'common' })}
</FieldLabel>
- <InputGroup className="mt-2">
+ <InputGroup>
<InputGroupInput
type={showConfirmPassword ? 'text' : 'password'}
value={confirmPassword}
diff --git a/web/app/account/(commonLayout)/delete-account/components/feed-back.tsx b/web/app/account/(commonLayout)/delete-account/components/feed-back.tsx
index 754bd7285ad..333af440190 100644
--- a/web/app/account/(commonLayout)/delete-account/components/feed-back.tsx
+++ b/web/app/account/(commonLayout)/delete-account/components/feed-back.tsx
@@ -79,8 +79,8 @@ export default function FeedBack(props: DeleteAccountProps) {
void handleSubmit(feedback)
}}
>
- <Field name="feedback" className="mt-3">
- <FieldLabel className="py-0 system-sm-semibold">
+ <Field name="feedback" className="mt-3 gap-0">
+ <FieldLabel className="system-sm-semibold">
{t(($) => $['account.feedbackLabel'], { ns: 'common' })}
</FieldLabel>
<Textarea
diff --git a/web/app/components/app-sidebar/app-info/app-info-modals.tsx b/web/app/components/app-sidebar/app-info/app-info-modals.tsx
index f54e16fca11..82c41a3b65c 100644
--- a/web/app/components/app-sidebar/app-info/app-info-modals.tsx
+++ b/web/app/components/app-sidebar/app-info/app-info-modals.tsx
@@ -150,7 +150,7 @@ const AppInfoModals = ({
{t(($) => $.deleteAppConfirmContent, { ns: 'app' })}
</AlertDialogDescription>
<Field name="confirm-app-name" className="mt-2 gap-0">
- <FieldLabel className="mb-1 block py-0 system-sm-regular text-text-secondary">
+ <FieldLabel className="system-sm-regular">
<Trans
i18nKey={($) => $.deleteAppConfirmInputLabel}
ns="app"
diff --git a/web/app/components/app/app-publisher/version-info-modal.tsx b/web/app/components/app/app-publisher/version-info-modal.tsx
index 8a806e08d8d..c28855da843 100644
--- a/web/app/components/app/app-publisher/version-info-modal.tsx
+++ b/web/app/components/app/app-publisher/version-info-modal.tsx
@@ -90,8 +90,8 @@ const VersionInfoModal: FC<VersionInfoModalProps> = ({
</button>
</div>
<div className="flex flex-col gap-y-4 px-6 py-3">
- <Field name="title" invalid={titleError} className="gap-y-1">
- <FieldLabel className="flex h-6 items-center py-0 system-sm-semibold text-text-secondary">
+ <Field name="title" invalid={titleError}>
+ <FieldLabel className="system-sm-semibold">
{t(($) => $['versionHistory.editField.title'], { ns: 'workflow' })}
</FieldLabel>
<Input
@@ -100,8 +100,8 @@ const VersionInfoModal: FC<VersionInfoModalProps> = ({
onValueChange={setTitle}
/>
</Field>
- <Field name="releaseNotes" invalid={releaseNotesError} className="gap-y-1">
- <FieldLabel className="flex h-6 items-center py-0 system-sm-semibold text-text-secondary">
+ <Field name="releaseNotes" invalid={releaseNotesError}>
+ <FieldLabel className="system-sm-semibold">
{t(($) => $['versionHistory.editField.releaseNotes'], { ns: 'workflow' })}
</FieldLabel>
<Textarea
diff --git a/web/app/components/app/duplicate-modal/index.tsx b/web/app/components/app/duplicate-modal/index.tsx
index 2f31e1adb21..9a00b50ae94 100644
--- a/web/app/components/app/duplicate-modal/index.tsx
+++ b/web/app/components/app/duplicate-modal/index.tsx
@@ -112,8 +112,8 @@ const DuplicateAppModal = ({
}}
>
<div className="mb-9 system-sm-regular text-text-secondary">
- <Field className="gap-2" name="name">
- <FieldLabel className="py-0 system-md-medium">
+ <Field name="name">
+ <FieldLabel className="system-md-medium">
{t(($) => $['appCustomize.subTitle'], { ns: 'explore' })}
</FieldLabel>
<div className="flex items-center justify-between space-x-2">
diff --git a/web/app/components/apps/app-card/interactions.tsx b/web/app/components/apps/app-card/interactions.tsx
index 5b38e3e5943..c625ba4ef89 100644
--- a/web/app/components/apps/app-card/interactions.tsx
+++ b/web/app/components/apps/app-card/interactions.tsx
@@ -693,7 +693,7 @@ export function AppCardInteractions({
{t(($) => $.deleteAppConfirmContent, { ns: 'app' })}
</AlertDialogDescription>
<Field name="confirm-app-name" className="mt-2">
- <FieldLabel className="mb-1 block py-0 system-sm-regular text-text-secondary">
+ <FieldLabel className="system-sm-regular">
<Trans
i18nKey={($) => $.deleteAppConfirmInputLabel}
ns="app"
diff --git a/web/app/components/base/chat/chat-with-history/sidebar/rename-modal.tsx b/web/app/components/base/chat/chat-with-history/sidebar/rename-modal.tsx
index d9bdfb027bc..6a44415f374 100644
--- a/web/app/components/base/chat/chat-with-history/sidebar/rename-modal.tsx
+++ b/web/app/components/base/chat/chat-with-history/sidebar/rename-modal.tsx
@@ -34,12 +34,12 @@ const RenameModal: FC<IRenameModalProps> = ({ isShow, saveLoading, name, onClose
if (!saveLoading) onSave(tempName)
}}
>
- <Field name="conversationName" className="mt-6 gap-0">
- <FieldLabel className="py-0 text-sm leading-5.25 font-medium text-text-primary">
+ <Field name="conversationName" className="mt-6">
+ <FieldLabel className="text-sm leading-5.25 font-medium text-text-primary">
{t(($) => $['chat.conversationName'], { ns: 'common' })}
</FieldLabel>
<Input
- className="mt-2 h-10"
+ className="h-10"
value={tempName}
onValueChange={setTempName}
placeholder={conversationNamePlaceholder}
diff --git a/web/app/components/datasets/create-from-pipeline/create-options/create-from-dsl-modal/index.tsx b/web/app/components/datasets/create-from-pipeline/create-options/create-from-dsl-modal/index.tsx
index f5f2521e9a1..2233ff22331 100644
--- a/web/app/components/datasets/create-from-pipeline/create-options/create-from-dsl-modal/index.tsx
+++ b/web/app/components/datasets/create-from-pipeline/create-options/create-from-dsl-modal/index.tsx
@@ -95,8 +95,8 @@ const CreateFromDSLModal = ({
<Uploader className="mt-0" file={currentFile} updateFile={handleFile} />
</TabsPanel>
<TabsPanel value={CreateFromDSLModalTab.FROM_URL} tabIndex={-1} className="px-6 py-4">
- <Field name="dslUrl">
- <FieldLabel className="w-full py-0 text-sm leading-5 font-semibold">
+ <Field name="dslUrl" className="gap-0">
+ <FieldLabel className="w-full text-sm leading-5 font-semibold">
DSL URL
</FieldLabel>
<Input
diff --git a/web/app/components/datasets/create-from-pipeline/list/template-card/edit-pipeline-info.tsx b/web/app/components/datasets/create-from-pipeline/list/template-card/edit-pipeline-info.tsx
index 6fa341c2f8d..17cc8ef394e 100644
--- a/web/app/components/datasets/create-from-pipeline/list/template-card/edit-pipeline-info.tsx
+++ b/web/app/components/datasets/create-from-pipeline/list/template-card/edit-pipeline-info.tsx
@@ -114,9 +114,7 @@ const EditPipelineInfo = ({ onClose, pipeline }: EditPipelineInfoProps) => {
<div className="flex flex-col gap-y-5 px-6 py-3">
<div className="flex items-end gap-x-3 self-stretch">
<Field className="grow pb-1" name="name">
- <FieldLabel className="flex h-6 items-center py-0">
- {t(($) => $.pipelineNameAndIcon, { ns: 'datasetPipeline' })}
- </FieldLabel>
+ <FieldLabel>{t(($) => $.pipelineNameAndIcon, { ns: 'datasetPipeline' })}</FieldLabel>
<Input
autoComplete="off"
onChange={handleAppNameChange}
@@ -141,9 +139,7 @@ const EditPipelineInfo = ({ onClose, pipeline }: EditPipelineInfoProps) => {
</button>
</div>
<Field name="description">
- <FieldLabel className="flex h-6 items-center py-0">
- {t(($) => $.knowledgeDescription, { ns: 'datasetPipeline' })}
- </FieldLabel>
+ <FieldLabel>{t(($) => $.knowledgeDescription, { ns: 'datasetPipeline' })}</FieldLabel>
<Textarea
autoComplete="off"
onValueChange={handleDescriptionChange}
diff --git a/web/app/components/datasets/create/empty-dataset-creation-modal/index.module.css b/web/app/components/datasets/create/empty-dataset-creation-modal/index.module.css
index d284faa2206..c00c3df476a 100644
--- a/web/app/components/datasets/create/empty-dataset-creation-modal/index.module.css
+++ b/web/app/components/datasets/create/empty-dataset-creation-modal/index.module.css
@@ -26,7 +26,7 @@
@apply mb-8;
}
.form .label {
- @apply py-0 text-text-primary;
+ @apply text-text-primary;
font-weight: 500;
font-size: 14px;
line-height: 20px;
diff --git a/web/app/components/datasets/create/empty-dataset-creation-modal/index.tsx b/web/app/components/datasets/create/empty-dataset-creation-modal/index.tsx
index 1280dfb6df6..3903a785a6c 100644
--- a/web/app/components/datasets/create/empty-dataset-creation-modal/index.tsx
+++ b/web/app/components/datasets/create/empty-dataset-creation-modal/index.tsx
@@ -76,7 +76,7 @@ const EmptyDatasetCreationModal = ({ show = false, onHide }: IProps) => {
</div>
<div className={s.tip}>{t(($) => $['stepOne.modal.tip'], { ns: 'datasetCreation' })}</div>
<Form onFormSubmit={() => void submit()}>
- <Field name="datasetName" className={cn(s.form, 'gap-2')}>
+ <Field name="datasetName" className={s.form}>
<FieldLabel className={s.label}>
{t(($) => $['stepOne.modal.input'], { ns: 'datasetCreation' })}
</FieldLabel>
diff --git a/web/app/components/datasets/documents/components/rename-modal.tsx b/web/app/components/datasets/documents/components/rename-modal.tsx
index 0e783bf43f2..839c9947e17 100644
--- a/web/app/components/datasets/documents/components/rename-modal.tsx
+++ b/web/app/components/datasets/documents/components/rename-modal.tsx
@@ -59,12 +59,12 @@ const RenameModal: FC<Props> = ({ documentId, datasetId, name, onClose, onSaved
{t(($) => $['list.table.rename'], { ns: 'datasetDocuments' })}
</DialogTitle>
<Form onFormSubmit={() => void handleSave()}>
- <Field name="documentName" className="mt-6 gap-0">
- <FieldLabel className="py-0 text-sm leading-5.25 font-medium text-text-primary">
+ <Field name="documentName" className="mt-6">
+ <FieldLabel className="text-sm leading-5.25 font-medium text-text-primary">
{t(($) => $['list.table.name'], { ns: 'datasetDocuments' })}
</FieldLabel>
<Input
- className="mt-2 h-10"
+ className="h-10"
value={newName}
placeholder={t(($) => $['placeholder.input'], { ns: 'common' }) || ''}
onValueChange={setNewName}
diff --git a/web/app/components/plugins/plugin-detail-panel/subscription-list/delete-confirm.tsx b/web/app/components/plugins/plugin-detail-panel/subscription-list/delete-confirm.tsx
index 70ff266ec85..6b75865ee9d 100644
--- a/web/app/components/plugins/plugin-detail-panel/subscription-list/delete-confirm.tsx
+++ b/web/app/components/plugins/plugin-detail-panel/subscription-list/delete-confirm.tsx
@@ -83,8 +83,8 @@ export const DeleteConfirm = (props: Props) => {
: t(($) => $[`${tPrefix}.content`], { ns: 'pluginTrigger' })}
</AlertDialogDescription>
{workflowsInUse > 0 && (
- <Field className="mt-6 gap-2" name="confirmation">
- <FieldLabel className="py-0">
+ <Field className="mt-6" name="confirmation">
+ <FieldLabel>
{t(($) => $[`${tPrefix}.confirmInputTip`], {
ns: 'pluginTrigger',
name: currentName,
diff --git a/web/app/components/workflow/nodes/agent-v2/components/agent-output-variables/edit-card.tsx b/web/app/components/workflow/nodes/agent-v2/components/agent-output-variables/edit-card.tsx
index c8ae1e2bc26..950922ec7dc 100644
--- a/web/app/components/workflow/nodes/agent-v2/components/agent-output-variables/edit-card.tsx
+++ b/web/app/components/workflow/nodes/agent-v2/components/agent-output-variables/edit-card.tsx
@@ -165,8 +165,8 @@ export function OutputEditCard({
</CollapsibleTrigger>
<CollapsiblePanel className="border-t border-divider-subtle">
<div className="px-3 py-2">
- <Field name="defaultValue" className="gap-1">
- <FieldLabel className="py-0 system-xs-medium text-text-secondary">
+ <Field name="defaultValue">
+ <FieldLabel className="system-xs-medium">
{t(($) => $['nodes.agent.outputVars.defaultValueLabel'], { ns: 'workflow' })}
</FieldLabel>
<Textarea
@@ -175,7 +175,7 @@ export function OutputEditCard({
placeholder={t(($) => $['nodes.agent.outputVars.defaultValuePlaceholder'], {
ns: 'workflow',
})}
- className="mt-1 min-h-6"
+ className="min-h-6"
onValueChange={(defaultValue) => updateDraft({ defaultValue })}
/>
{defaultValueErrorKey && (
diff --git a/web/app/components/workflow/nodes/trigger-schedule/components/frequency-selector.tsx b/web/app/components/workflow/nodes/trigger-schedule/components/frequency-selector.tsx
index 91470c231eb..e236c35720f 100644
--- a/web/app/components/workflow/nodes/trigger-schedule/components/frequency-selector.tsx
+++ b/web/app/components/workflow/nodes/trigger-schedule/components/frequency-selector.tsx
@@ -58,8 +58,8 @@ const FrequencySelector = ({ frequency, onChange }: FrequencySelectorProps) => {
value={frequency}
onValueChange={handleFrequencyChange}
>
- <div className="flex flex-col gap-2">
- <SelectLabel className="py-0 text-xs">{fieldLabel}</SelectLabel>
+ <div className="flex flex-col">
+ <SelectLabel className="text-xs">{fieldLabel}</SelectLabel>
<SelectTrigger className="w-full py-2">
{selectedFrequency?.name ??
t(($) => $['nodes.triggerSchedule.selectFrequency'], { ns: 'workflow' })}
diff --git a/web/app/components/workflow/nodes/trigger-schedule/components/on-minute-selector.tsx b/web/app/components/workflow/nodes/trigger-schedule/components/on-minute-selector.tsx
index 915003679ad..5a7fdd29ea4 100644
--- a/web/app/components/workflow/nodes/trigger-schedule/components/on-minute-selector.tsx
+++ b/web/app/components/workflow/nodes/trigger-schedule/components/on-minute-selector.tsx
@@ -19,14 +19,14 @@ const OnMinuteSelector = ({ value = 0, onChange }: OnMinuteSelectorProps) => {
return (
<Slider
- className="flex flex-col gap-2"
+ className="flex flex-col"
value={value}
min={0}
max={59}
step={1}
onValueChange={onChange}
>
- <SliderLabel className="py-0 text-xs">
+ <SliderLabel className="text-xs">
{t(($) => $['nodes.triggerSchedule.onMinute'], { ns: 'workflow' })}
</SliderLabel>
<div className="relative flex h-8 items-center rounded-lg bg-components-input-bg-normal">
diff --git a/web/app/components/workflow/nodes/trigger-schedule/panel.tsx b/web/app/components/workflow/nodes/trigger-schedule/panel.tsx
index eab5622adf3..18aadb8e844 100644
--- a/web/app/components/workflow/nodes/trigger-schedule/panel.tsx
+++ b/web/app/components/workflow/nodes/trigger-schedule/panel.tsx
@@ -53,13 +53,10 @@ const Panel: FC<NodePanelProps<ScheduleTriggerNodeType>> = ({ id, data }) => {
onChange={handleOnMinuteChange}
/>
) : (
- <>
- <label
- htmlFor={timeInputId}
- className="mb-2 block text-xs font-medium text-text-secondary"
- >
+ <Field className="gap-0">
+ <FieldLabel htmlFor={timeInputId} className="text-xs">
{t(($) => $['nodes.triggerSchedule.time'], { ns: 'workflow' })}
- </label>
+ </FieldLabel>
<TimePicker
id={timeInputId}
notClearable={true}
@@ -80,7 +77,7 @@ const Panel: FC<NodePanelProps<ScheduleTriggerNodeType>> = ({ id, data }) => {
})}
showTimezone={true}
/>
- </>
+ </Field>
)}
</div>
</div>
@@ -111,8 +108,8 @@ const Panel: FC<NodePanelProps<ScheduleTriggerNodeType>> = ({ id, data }) => {
)}
{inputs.mode === 'cron' && (
- <Field className="gap-2">
- <FieldLabel className="py-0 text-xs">
+ <Field className="gap-0">
+ <FieldLabel className="text-xs">
{t(($) => $['nodes.triggerSchedule.cronExpression'], { ns: 'workflow' })}
</FieldLabel>
<Input
diff --git a/web/features/agent-v2/agent-detail/configure/components/orchestrate/model-config/field.tsx b/web/features/agent-v2/agent-detail/configure/components/orchestrate/model-config/field.tsx
index 67c4b759109..0177b329360 100644
--- a/web/features/agent-v2/agent-detail/configure/components/orchestrate/model-config/field.tsx
+++ b/web/features/agent-v2/agent-detail/configure/components/orchestrate/model-config/field.tsx
@@ -40,8 +40,8 @@ export function AgentModelField({ currentModel, onSelect }: AgentModelFieldProps
(providerUnavailable && providerQuery.isError)
return (
- <Field name="model" className="gap-1 pb-4">
- <FieldLabel className="py-0 system-sm-semibold-uppercase! text-text-secondary">
+ <Field name="model" className="gap-0 pb-4">
+ <FieldLabel className="system-sm-semibold-uppercase! text-text-secondary">
{t(($) => $['agentDetail.configure.model.label'])}
</FieldLabel>
{readOnly ? (
diff --git a/web/features/skills/detail/sidebar-actions.tsx b/web/features/skills/detail/sidebar-actions.tsx
index 681dfeb43ea..1e6dd33c17d 100644
--- a/web/features/skills/detail/sidebar-actions.tsx
+++ b/web/features/skills/detail/sidebar-actions.tsx
@@ -145,7 +145,7 @@ function SkillDetailDeleteDialog({
)}
{referenceCount > 0 && (
<Field name="confirm-skill-name" className="mt-2">
- <FieldLabel className="mb-1 block py-0 system-sm-regular text-text-secondary">
+ <FieldLabel className="system-sm-regular">
<Trans
i18nKey={($) => $['skillManagement.deleteDialog.confirmInputLabel']}
ns="skill"
diff --git a/web/features/skills/detail/version-panel.tsx b/web/features/skills/detail/version-panel.tsx
index c63badf2104..086038f7a66 100644
--- a/web/features/skills/detail/version-panel.tsx
+++ b/web/features/skills/detail/version-panel.tsx
@@ -424,8 +424,8 @@ function VersionRow({
</DialogDescription>
</div>
<div className="flex flex-col gap-y-4 px-6 py-3">
- <Field name="versionTitle" className="gap-y-1">
- <FieldLabel className="flex h-6 items-center py-0 system-sm-semibold text-text-secondary">
+ <Field name="versionTitle">
+ <FieldLabel className="system-sm-semibold">
{t(($) => $['skillManagement.detail.versionTitle'])}
</FieldLabel>
<Input
@@ -434,8 +434,8 @@ function VersionRow({
onValueChange={setVersionName}
/>
</Field>
- <Field name="publishNote" className="gap-y-1">
- <FieldLabel className="flex h-6 items-center py-0 system-sm-semibold text-text-secondary">
+ <Field name="publishNote">
+ <FieldLabel className="system-sm-semibold">
{t(($) => $['skillManagement.detail.versionPublishNote'])}
</FieldLabel>
<Textarea
diff --git a/web/features/skills/page.tsx b/web/features/skills/page.tsx
index c3c4b728b19..5816390fc2d 100644
--- a/web/features/skills/page.tsx
+++ b/web/features/skills/page.tsx
@@ -354,7 +354,7 @@ function DeleteSkillDialog({
)}
{referenceCount > 0 && (
<Field name="confirm-skill-name" className="mt-2">
- <FieldLabel className="mb-1 block py-0 system-sm-regular text-text-secondary">
+ <FieldLabel className="system-sm-regular">
<Trans
i18nKey={($) => $['skillManagement.deleteDialog.confirmInputLabel']}
ns="skill"