From d89d64a1bd71bbb0f545818794f574fc80046c0f Mon Sep 17 00:00:00 2001
From: Kit La Touche <kit@transneptune.net>
Date: Sat, 30 Nov 2024 16:49:02 -0500
Subject: Add styling for pre blocks in messages

---
 ui/lib/components/Message.svelte | 6 ++++++
 1 file changed, 6 insertions(+)

(limited to 'ui/lib/components/Message.svelte')

diff --git a/ui/lib/components/Message.svelte b/ui/lib/components/Message.svelte
index 1b32c08..c3e6b16 100644
--- a/ui/lib/components/Message.svelte
+++ b/ui/lib/components/Message.svelte
@@ -64,4 +64,10 @@
     margin-left: 0.5rem;
     padding-left: 0.5rem;
   }
+  :global(.message-body pre) {
+    border: 1px solid #312e81;
+    border-radius: 0.25rem;
+    background-color: #282555;;
+    padding: 0.25rem;
+  }
 </style>
-- 
cgit v1.2.3

