Skip to content

Commit

Permalink
feat: update styles for tooltip component (#377)
Browse files Browse the repository at this point in the history
  • Loading branch information
gerzon05 authored Aug 21, 2024
1 parent 2eaf98f commit 4573aca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/components/tooltip.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,4 @@ export const tooltipProvider = cva('')
* // Tooltip elements
* </TooltipContent>
*/
export const tooltipContent = cva('z-50 max-w-72 px-2 py-1 !text-white bg-slate-900 overflow-hidden rounded-large text-small shadow-small animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2')
export const tooltipContent = cva('z-50 w-fit max-w-72 px-2 py-1 !text-foreground bg-background border border-default rounded-medium text-small shadow-small animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2')

0 comments on commit 4573aca

Please sign in to comment.