Skip to content

Commit

Permalink
Fix CodeRenderer horizontal overflow (#175)
Browse files Browse the repository at this point in the history
  • Loading branch information
joseph-flinn authored Oct 24, 2024
1 parent c835b13 commit 6d0fd67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/lib/renderers/CodeComponent.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<CodeDiagramComponent diagram={text} />
</div>
{:else}
<code style="flex-grow: 1; background: #eee; padding: 1em;">
<code style="flex-grow: 1; background: #eee; padding: 1em; overflow-x: scroll;">
{text}
</code>
{/if}
Expand Down

0 comments on commit 6d0fd67

Please sign in to comment.