Skip to content

Commit

Permalink
feat(js): make tooltip smaller (#6539)
Browse files Browse the repository at this point in the history
  • Loading branch information
BiswaViraj committed Sep 19, 2024
1 parent d0ce56b commit 427a111
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { Root } from '../../elements';
import { useTooltip } from './TooltipRoot';

export const tooltipContentVariants = () =>
'nt-bg-foreground nt-p-4 nt-shadow-tooltip nt-z-10 nt-rounded-lg nt-text-background nt-text-sm';
'nt-bg-foreground nt-p-2 nt-shadow-tooltip nt-z-10 nt-rounded-lg nt-text-background nt-text-xs';

const TooltipContentBody = (props: TooltipContentProps) => {
const { open, setFloating, floating, floatingStyles } = useTooltip();
Expand Down

0 comments on commit 427a111

Please sign in to comment.