Skip to content

Commit

Permalink
feat: Remove duplicate styling (#5201)
Browse files Browse the repository at this point in the history
  • Loading branch information
gcko authored Oct 31, 2023
1 parent 0b6fb8e commit 2149601
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions components/lib/passthrough/tailwind/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down

0 comments on commit 2149601

Please sign in to comment.