Skip to content

Commit ce81fb9

Browse files
committed
Restructure link buttons in sidebar to respect theme
1 parent cedf02d commit ce81fb9

File tree

1 file changed

+26
-25
lines changed

1 file changed

+26
-25
lines changed

client/src/components/Sidebar.tsx

Lines changed: 26 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -331,36 +331,37 @@ const Sidebar = ({
331331
</Select>
332332

333333
<div className="flex items-center space-x-2">
334-
<a
335-
href="https://modelcontextprotocol.io/docs/tools/inspector"
336-
target="_blank"
337-
rel="noopener noreferrer"
338-
>
339-
<Button variant="ghost" title="Inspector Documentation">
334+
<Button variant="ghost" title="Inspector Documentation" asChild>
335+
<a
336+
href="https://modelcontextprotocol.io/docs/tools/inspector"
337+
target="_blank"
338+
rel="noopener noreferrer"
339+
>
340340
<CircleHelp className="w-4 h-4 text-gray-800" />
341-
</Button>
342-
</a>
343-
<a
344-
href="https://modelcontextprotocol.io/docs/tools/debugging"
345-
target="_blank"
346-
rel="noopener noreferrer"
347-
>
348-
<Button variant="ghost" title="Debugging Guide">
341+
</a>
342+
</Button>
343+
<Button variant="ghost" title="Debugging Guide" asChild>
344+
<a
345+
href="https://modelcontextprotocol.io/docs/tools/debugging"
346+
target="_blank"
347+
rel="noopener noreferrer"
348+
>
349349
<Bug className="w-4 h-4 text-gray-800" />
350-
</Button>
351-
</a>
352-
<a
353-
href="https://github.com/modelcontextprotocol/inspector"
354-
target="_blank"
355-
rel="noopener noreferrer"
350+
</a>
351+
</Button>
352+
<Button
353+
variant="ghost"
354+
title="Report bugs or contribute on GitHub"
355+
asChild
356356
>
357-
<Button
358-
variant="ghost"
359-
title="Report bugs or contribute on GitHub"
357+
<a
358+
href="https://github.com/modelcontextprotocol/inspector"
359+
target="_blank"
360+
rel="noopener noreferrer"
360361
>
361362
<Github className="w-4 h-4 text-gray-800" />
362-
</Button>
363-
</a>
363+
</a>
364+
</Button>
364365
</div>
365366
</div>
366367
</div>

0 commit comments

Comments
 (0)