Skip to content

fix: googleTranslate breaking terminal blocks #3993

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/components/MDX/TerminalBlock.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ function TerminalBlock({level = 'info', children}: TerminalBlockProps) {
}

return (
<div className="rounded-lg bg-secondary dark:bg-gray-50 h-full">
<div
className="rounded-lg bg-secondary dark:bg-gray-50 h-full"
translate="no">
<div className="bg-gray-90 dark:bg-gray-60 w-full rounded-t-lg">
<div className="text-primary-dark dark:text-primary-dark flex text-sm px-4 py-0.5 relative">
<IconTerminal className="inline-flex mr-2 self-center" /> Terminal
Expand Down