diff --git a/packages/dify-ui/src/autocomplete/index.tsx b/packages/dify-ui/src/autocomplete/index.tsx index b362a9450fd..4d115024ab1 100644 --- a/packages/dify-ui/src/autocomplete/index.tsx +++ b/packages/dify-ui/src/autocomplete/index.tsx @@ -145,9 +145,9 @@ const autocompleteControlVariants = cva( { variants: { size: { - small: 'mr-1 size-4', - medium: 'mr-1.5 size-5', - large: 'mr-2 size-5', + small: 'me-1 size-4', + medium: 'me-1.5 size-5', + large: 'me-2 size-5', }, }, defaultVariants: { diff --git a/packages/dify-ui/src/button/index.tsx b/packages/dify-ui/src/button/index.tsx index 2181b880a55..0d36d7d1510 100644 --- a/packages/dify-ui/src/button/index.tsx +++ b/packages/dify-ui/src/button/index.tsx @@ -131,7 +131,7 @@ export function Button({ {children} {loading && (