Skip to content

Commit f200b39

Browse files
authored
fix: add width property to code-lines container (#193)
1 parent 6e1fc96 commit f200b39

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/components/CodeViewer.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ watch(
8282
<!-- Code content -->
8383
<div class="code-content flex-1 overflow-x-auto min-w-0">
8484
<!-- eslint-disable vue/no-v-html -- HTML is generated server-side by Shiki -->
85-
<div ref="codeRef" class="code-lines" v-html="html" />
85+
<div ref="codeRef" class="code-lines w-fit" v-html="html" />
8686
<!-- eslint-enable vue/no-v-html -->
8787
</div>
8888
</div>

0 commit comments

Comments
 (0)