Skip to content

Commit

Permalink
fix: change overflow-x-scroll to overflow-x-auto in TerminalBlock com…
Browse files Browse the repository at this point in the history
…ponent (#7415)
  • Loading branch information
hichemfantar authored Jan 9, 2025
1 parent c0b6baf commit 7b4f948
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/MDX/TerminalBlock.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ function TerminalBlock({level = 'info', children}: TerminalBlockProps) {
</div>
</div>
<div
className="px-8 pt-4 pb-6 text-primary-dark dark:text-primary-dark font-mono text-code whitespace-pre overflow-x-scroll"
className="px-8 pt-4 pb-6 text-primary-dark dark:text-primary-dark font-mono text-code whitespace-pre overflow-x-auto"
translate="no"
dir="ltr">
<LevelText type={level} />
Expand Down

0 comments on commit 7b4f948

Please sign in to comment.