wip
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user