style(options): reduce margins for code block appearance

This commit is contained in:
Elian Doran 2025-05-12 13:28:40 +03:00
parent 5f2314f901
commit 42ed6167c9
No known key found for this signature in database

View File

@ -39,16 +39,18 @@ const TPL = /*html*/`
</div>
</div>
<div class="form-group row">
<div class="note-detail-readonly-text-content ck-content code-sample-wrapper">
<pre class="hljs"><code class="code-sample">${SAMPLE_CODE}</code></pre>
</div>
<div class="note-detail-readonly-text-content ck-content code-sample-wrapper">
<pre class="hljs"><code class="code-sample">${SAMPLE_CODE}</code></pre>
</div>
<style>
.code-sample-wrapper {
margin-top: 1em;
}
.code-sample-wrapper pre {
margin-bottom: 0;
}
</style>
</div>
`;