fix: styling

This commit is contained in:
Timothy J. Baek 2024-01-22 03:42:32 -08:00
parent e758855590
commit 9c72f4da09

View file

@ -20,7 +20,7 @@
$: highlightedCode = code ? hljs.highlightAuto(code, hljs.getLanguage(lang)?.aliases).value : ''; $: highlightedCode = code ? hljs.highlightAuto(code, hljs.getLanguage(lang)?.aliases).value : '';
</script> </script>
<div class="mb-3"> <div class="mb-4">
<div <div
class="flex justify-between bg-[#202123] text-white text-xs px-4 pt-1 rounded-t-lg overflow-x-auto" class="flex justify-between bg-[#202123] text-white text-xs px-4 pt-1 rounded-t-lg overflow-x-auto"
> >
@ -30,7 +30,7 @@
> >
</div> </div>
<pre class=" rounded-b-lg hljs p-4 overflow-x-auto rounded-t-none"><code <pre class=" rounded-b-lg hljs p-4 px-5 overflow-x-auto rounded-t-none"><code
class="language-{lang} rounded-t-none whitespace-pre">{@html highlightedCode || code}</code class="language-{lang} rounded-t-none whitespace-pre">{@html highlightedCode || code}</code
></pre> ></pre>
</div> </div>