Skip to content

Commit 8d20044

Browse files
fix darkmode color and padding for the tab item
1 parent 3032a67 commit 8d20044

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

client/src/components/PromptsTab.tsx

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

107107
<div className="bg-card rounded-lg shadow">
108-
<div className="p-4 border-b border-gray-200">
108+
<div className="p-4 border-b border-gray-200 dark:border-gray-700">
109109
<h3 className="font-semibold">
110110
{selectedPrompt ? selectedPrompt.name : "Select a prompt"}
111111
</h3>

client/src/components/ResourcesTab.tsx

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

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

client/src/components/ToolsTab.tsx

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

131131
<div className="bg-card rounded-lg shadow">
132-
<div className="p-4 border-b border-gray-200">
132+
<div className="p-4 border-b border-gray-200 dark:border-gray-700">
133133
<h3 className="font-semibold">
134134
{selectedTool ? selectedTool.name : "Select a tool"}
135135
</h3>

client/src/components/ui/tabs.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ const TabsContent = React.forwardRef<
4242
<TabsPrimitive.Content
4343
ref={ref}
4444
className={cn(
45-
"mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",
45+
"ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",
4646
className,
4747
)}
4848
{...props}

0 commit comments

Comments
 (0)