Skip to content

Commit

Permalink
change styling of service reference in api explorer
Browse files Browse the repository at this point in the history
  • Loading branch information
davemooreuws committed Dec 18, 2024
1 parent d466f7d commit 0b6da65
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions pkg/dashboard/frontend/src/components/apis/APIExplorer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -511,18 +511,13 @@ const APIExplorer = () => {
<div className={'flex items-start gap-1'}>
<Tooltip>
<TooltipTrigger asChild>
<Button
asChild
variant="link"
<a
data-testid="requesting-service"
className="text-md h-auto p-0 hover:underline"
href={`vscode://file/${data?.services.find((svc) => svc.name === selectedApiEndpoint.requestingService)?.filePath}`}
>
<a
href={`vscode://file/${data?.services.find((svc) => svc.name === selectedApiEndpoint.requestingService)?.filePath}`}
>
{selectedApiEndpoint.requestingService}
</a>
</Button>
{selectedApiEndpoint.requestingService}
</a>
</TooltipTrigger>
<TooltipContent>
<p>Open in VSCode</p>
Expand Down

0 comments on commit 0b6da65

Please sign in to comment.