fix: tool tip for mobile

This commit is contained in:
Zephyruso 2023-09-02 14:09:44 +08:00
parent 36eec7a883
commit b0bac89488

View File

@ -25,7 +25,7 @@ export default (props: {
return (
<div
class={twMerge(
'card card-bordered tooltip tooltip-bottom card-compact flex gap-1 border-neutral-focus bg-neutral p-3 text-neutral-content',
'card card-bordered tooltip-bottom card-compact flex gap-1 border-neutral-focus bg-neutral p-3 text-neutral-content sm:tooltip',
isSelected && 'border-primary bg-primary-content text-primary',
onClick && 'cursor-pointer',
)}