Timothy J. Baek před 7 měsíci
rodič
revize
49e9275c5b
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 2 2
      src/lib/components/chat/Messages/CodeBlock.svelte

+ 2 - 2
src/lib/components/chat/Messages/CodeBlock.svelte

@@ -297,9 +297,9 @@ __builtins__.input = input`);
 		{/if}
 		{/if}
 	{:else}
 	{:else}
 		<div
 		<div
-			class="flex justify-between bg-[#202123] text-white text-xs px-4 pt-1 pb-0.5 rounded-t-lg relative overflow-x-auto"
+			class="flex justify-between bg-black/5 dark:bg-[#202123] dark:text-white text-xs px-4 pt-1 pb-0.5 rounded-t-lg relative"
 		>
 		>
-			<div class="p-1">{lang}</div>
+			<div class="p-1 font-medium">{lang}</div>
 
 
 			<div class="flex items-center sticky top-0">
 			<div class="flex items-center sticky top-0">
 				{#if lang.toLowerCase() === 'python' || lang.toLowerCase() === 'py' || (lang === '' && checkPythonCode(code))}
 				{#if lang.toLowerCase() === 'python' || lang.toLowerCase() === 'py' || (lang === '' && checkPythonCode(code))}