This commit is contained in:
2026-01-14 17:15:10 +01:00
parent 172e2600d1
commit a9b2c89636
20 changed files with 2093 additions and 158 deletions

View File

@@ -135,7 +135,7 @@ const highlightedCode = Prism.highlight(
aria-labelledby={headerId}
>
<pre
class="m-0 p-3 overflow-x-auto overflow-y-auto text-[13px] leading-[1.65] font-mono text-slate-800 hide-scrollbar"
class="m-0 p-3 overflow-x-auto overflow-y-auto text-[13px] leading-[1.65] font-mono text-slate-800 hide-scrollbar border border-slate-200 rounded"
style="font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace; max-height: 22rem;"
><code class={`language-${prismLanguage}`} set:html={highlightedCode}></code></pre>
</div>
@@ -254,7 +254,8 @@ const highlightedCode = Prism.highlight(
/* Prism.js syntax highlighting - light, low-noise */
code[class*='language-'],
pre[class*='language-'] {
pre[class*='language-'],
pre:has(code[class*='language-']) {
color: #0f172a;
background: transparent;
text-shadow: none;