Skip to content

Commit

Permalink
fix: update resources tooltip text & styles
Browse files Browse the repository at this point in the history
  • Loading branch information
umrkhn committed Nov 7, 2023
1 parent 37881ec commit a1f2320
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions dashboard/components/explorer/DependencyGraph.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -277,13 +277,14 @@ const DependencyGraph = ({ data }: DependencyGraphProps) => {
)}
<div className="absolute bottom-0 w-full">
<div className="flex w-full flex-col items-center gap-2 sm:flex-row sm:justify-between">
<div className="flex gap-2 overflow-visible bg-black-100 text-black-400">
{data?.nodes?.length} Resources
<div className="flex items-center gap-2 bg-black-100 text-black-400">
<span>{data?.nodes?.length} Resources</span>
{!dataIsEmpty && (
<div className="relative">
<div className="relative mt-[2px]">
<WarningIcon className="peer" height="16" width="16" />
<Tooltip bottom="xs" align="left" width="lg">
Only AWS resources are currently supported on the explorer.
Only AWS and CIVO resources are currently supported on the
explorer.
</Tooltip>
</div>
)}
Expand Down

0 comments on commit a1f2320

Please sign in to comment.