Skip to content

Commit

Permalink
CSS: Tooltip text color fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
daejlee committed Sep 24, 2024
1 parent 3ad47aa commit ec1fc0d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/components/ProfilePic.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export default function ProfilePic({
</TooltipTrigger>
{type !== "searchedCard" && (
<TooltipContent>
<p className=" text-l lg:text-xl">인트라 프로필 방문</p>
<p className="text-l lg:text-xl">인트라 프로필 방문</p>
</TooltipContent>
)}
</Tooltip>
Expand Down
12 changes: 6 additions & 6 deletions src/components/ui/tooltip.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as React from 'react';
import * as TooltipPrimitive from '@radix-ui/react-tooltip';
import * as React from "react";
import * as TooltipPrimitive from "@radix-ui/react-tooltip";

import { cn } from '@/lib/utils';
import { cn } from "@/lib/utils";

const TooltipProvider = TooltipPrimitive.Provider;

Expand All @@ -16,10 +16,10 @@ const TooltipContent = React.forwardRef<
<TooltipPrimitive.Content
ref={ref}
sideOffset={sideOffset}
side='bottom'
side="bottom"
className={cn(
'z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-md 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',
className
"z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-sm text-[#4A6282] shadow-md 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",
className,
)}
{...props}
/>
Expand Down

0 comments on commit ec1fc0d

Please sign in to comment.