From bed5647b52016a291938e55104fe9f3357681828 Mon Sep 17 00:00:00 2001 From: Vben Date: Thu, 17 Oct 2024 22:40:20 +0800 Subject: [PATCH] fix: form required style adjustment (#4668) --- .../ui-kit/form-ui/src/form-render/form-field.vue | 2 +- .../ui-kit/form-ui/src/form-render/form-label.vue | 10 ++++++---- .../layouts/src/authentication/authentication.vue | 6 +++--- 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/packages/@core/ui-kit/form-ui/src/form-render/form-field.vue b/packages/@core/ui-kit/form-ui/src/form-render/form-field.vue index f66a4bb6b87..091bcc87257 100644 --- a/packages/@core/ui-kit/form-ui/src/form-render/form-field.vue +++ b/packages/@core/ui-kit/form-ui/src/form-render/form-field.vue @@ -278,7 +278,7 @@ function autofocus() { cn( 'flex leading-6', { - 'mr-2 flex-shrink-0': !isVertical, + 'mr-2 flex-shrink-0 justify-end': !isVertical, 'flex-row': isVertical, }, !isVertical && labelClass, diff --git a/packages/@core/ui-kit/form-ui/src/form-render/form-label.vue b/packages/@core/ui-kit/form-ui/src/form-render/form-label.vue index 1e135f01d1c..53d84041bd2 100644 --- a/packages/@core/ui-kit/form-ui/src/form-render/form-label.vue +++ b/packages/@core/ui-kit/form-ui/src/form-render/form-label.vue @@ -1,20 +1,22 @@ diff --git a/packages/effects/layouts/src/authentication/authentication.vue b/packages/effects/layouts/src/authentication/authentication.vue index 1117390a8dc..ceae8027f9e 100644 --- a/packages/effects/layouts/src/authentication/authentication.vue +++ b/packages/effects/layouts/src/authentication/authentication.vue @@ -61,12 +61,12 @@ const { authPanelCenter, authPanelLeft, authPanelRight, isDark } = -
+
- -

+ +

{{ appName }}