We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 462fb98 commit 7c249c5Copy full SHA for 7c249c5
1 file changed
app/components/Code/Viewer.vue
@@ -115,7 +115,7 @@ watch(
115
<!-- Code content -->
116
<div class="code-content flex-1 overflow-x-auto min-w-0">
117
<!-- eslint-disable vue/no-v-html -- HTML is generated server-side by Shiki -->
118
- <div ref="codeRef" class="code-lines w-fit" v-html="html" />
+ <div ref="codeRef" class="code-lines min-w-full w-fit" v-html="html" />
119
<!-- eslint-enable vue/no-v-html -->
120
</div>
121
@@ -157,7 +157,7 @@ watch(
157
158
/* Highlighted lines in code content - extend full width with negative margin */
159
.code-content :deep(.line.highlighted) {
160
- background: rgb(234 179 8 / 0.2); /* yellow-500/20 */
+ @apply bg-yellow-500/20;
161
margin: 0 -1rem;
162
padding: 0 1rem;
163
}
0 commit comments