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
  • Loading branch information
hichemfantar committed Jan 8, 2025
1 parent 5e3e400 commit 27a3534
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 27a3534

Please sign in to comment.