dark mode fixes

This commit is contained in:
Ashwin Bhat
2024-11-20 11:25:06 -08:00
parent 7dbaee47a2
commit 78182eab10
6 changed files with 41 additions and 13 deletions

View File

@@ -142,7 +142,7 @@ const ResourcesTab = ({
<AlertDescription>{error}</AlertDescription>
</Alert>
) : selectedResource ? (
<pre className="bg-gray-50 p-4 rounded text-sm overflow-auto max-h-96 whitespace-pre-wrap break-words">
<pre className="bg-gray-50 dark:bg-gray-800 p-4 rounded text-sm overflow-auto max-h-96 whitespace-pre-wrap break-words text-gray-900 dark:text-gray-100">
{resourceContent}
</pre>
) : selectedTemplate ? (