Skip to content

Commit 7b4f948

Browse files
authored
fix: change overflow-x-scroll to overflow-x-auto in TerminalBlock component (#7415)
1 parent c0b6baf commit 7b4f948

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/MDX/TerminalBlock.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ function TerminalBlock({level = 'info', children}: TerminalBlockProps) {
7171
</div>
7272
</div>
7373
<div
74-
className="px-8 pt-4 pb-6 text-primary-dark dark:text-primary-dark font-mono text-code whitespace-pre overflow-x-scroll"
74+
className="px-8 pt-4 pb-6 text-primary-dark dark:text-primary-dark font-mono text-code whitespace-pre overflow-x-auto"
7575
translate="no"
7676
dir="ltr">
7777
<LevelText type={level} />

0 commit comments

Comments
 (0)