Skip to content

Commit bea86af

Browse files
authored
Merge pull request #89 from evalstate/main
Dark Mode and Word Wrap for Resource Viewer
2 parents c770d21 + 68a6130 commit bea86af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/src/components/ToolsTab.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ const ToolsTab = ({
8383
/>
8484
)}
8585
{item.type === "resource" && (
86-
<pre className="bg-gray-50 p-4 rounded text-sm overflow-auto max-h-64">
86+
<pre className="bg-gray-50 dark:bg-gray-800 dark:text-gray-100 whitespace-pre-wrap break-words p-4 rounded text-sm overflow-auto max-h-64">
8787
{JSON.stringify(item.resource, null, 2)}
8888
</pre>
8989
)}

0 commit comments

Comments
 (0)