From 21496014f1dd33bc02465599880482c3f1405cd8 Mon Sep 17 00:00:00 2001 From: Jared Scott Date: Tue, 31 Oct 2023 17:44:27 +0800 Subject: [PATCH] feat: Remove duplicate styling (#5201) --- components/lib/passthrough/tailwind/index.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/components/lib/passthrough/tailwind/index.js b/components/lib/passthrough/tailwind/index.js index 8fe713516e..99471d3e09 100644 --- a/components/lib/passthrough/tailwind/index.js +++ b/components/lib/passthrough/tailwind/index.js @@ -1313,8 +1313,7 @@ const Tailwind = { label: ({ props }) => ({ className: classNames('block overflow-hidden whitespace-nowrap cursor-pointer overflow-ellipsis', 'text-gray-800 dark:text-white/80', 'p-3 transition duration-200', { '!p-3': props.display !== 'chip' && (props?.modelValue == null || props?.modelValue == undefined), - '!py-1.5 px-3': props.display == 'chip' && props?.modelValue !== null, - '!p-3': props.display == 'chip' && props?.modelValue == null + '!py-1.5 px-3': props.display === 'chip' && props?.modelValue !== null }) }), token: {