Skip to content

Commit

Permalink
fix: googleTranslate breaking terminal blocks (#3993)
Browse files Browse the repository at this point in the history
* fix: googleTranslate breaking terminal blocks

* chore: prettier magic
  • Loading branch information
shrirambalaji authored and gaearon committed Oct 28, 2021
1 parent 04f42b0 commit e104865
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion beta/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

0 comments on commit e104865

Please sign in to comment.