Skip to content

Commit 645a256

Browse files
authored
Merge pull request modelcontextprotocol#274 from nathanArseneau/dark-mode-fix
fix dark mode color and padding for the tab item
2 parents 70dc1b7 + 98ea4a1 commit 645a256

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

client/src/components/ListPane.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const ListPane = <T extends object>({
2222
isButtonDisabled,
2323
}: ListPaneProps<T>) => (
2424
<div className="bg-card rounded-lg shadow">
25-
<div className="p-4 border-b border-gray-200 dark:border-gray-700">
25+
<div className="p-4 border-b border-gray-200 dark:border-gray-800">
2626
<h3 className="font-semibold dark:text-white">{title}</h3>
2727
</div>
2828
<div className="p-4">

client/src/components/PromptsTab.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ const PromptsTab = ({
108108
/>
109109

110110
<div className="bg-card rounded-lg shadow">
111-
<div className="p-4 border-b border-gray-200">
111+
<div className="p-4 border-b border-gray-200 dark:border-gray-800">
112112
<h3 className="font-semibold">
113113
{selectedPrompt ? selectedPrompt.name : "Select a prompt"}
114114
</h3>

client/src/components/ResourcesTab.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ const ResourcesTab = ({
162162
/>
163163

164164
<div className="bg-card rounded-lg shadow">
165-
<div className="p-4 border-b border-gray-200 flex justify-between items-center">
165+
<div className="p-4 border-b border-gray-200 dark:border-gray-800 flex justify-between items-center">
166166
<h3
167167
className="font-semibold truncate"
168168
title={selectedResource?.name || selectedTemplate?.name}

client/src/components/Sidebar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ const Sidebar = ({
9292

9393
return (
9494
<div className="w-80 bg-card border-r border-border flex flex-col h-full">
95-
<div className="flex items-center justify-between p-4 border-b border-gray-200">
95+
<div className="flex items-center justify-between p-4 border-b border-gray-200 dark:border-gray-800">
9696
<div className="flex items-center">
9797
<h1 className="ml-2 text-lg font-semibold">
9898
MCP Inspector v{version}

client/src/components/ToolsTab.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ const ToolsTab = ({
140140
/>
141141

142142
<div className="bg-card rounded-lg shadow">
143-
<div className="p-4 border-b border-gray-200">
143+
<div className="p-4 border-b border-gray-200 dark:border-gray-800">
144144
<h3 className="font-semibold">
145145
{selectedTool ? selectedTool.name : "Select a tool"}
146146
</h3>

0 commit comments

Comments
 (0)