fix: display of codeblock actions in dark mode
This commit is contained in:
parent
3fd1859005
commit
a3c8f93de8
1 changed files with 1 additions and 1 deletions
|
|
@ -86,7 +86,7 @@ const CodeBlock: FC<Props> = memo(({ language, value }) => {
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="codeblock relative w-full bg-zinc-950 font-sans">
|
<div className="codeblock relative w-full bg-zinc-950 font-sans">
|
||||||
<div className="flex w-full items-center justify-between bg-zinc-900 px-6 py-2 pr-4 text-zinc-100">
|
<div className="flex w-full items-center justify-between bg-zinc-800 px-6 py-2 pr-4 text-zinc-100">
|
||||||
<span className="text-xs lowercase">{language}</span>
|
<span className="text-xs lowercase">{language}</span>
|
||||||
<div className="flex items-center space-x-1">
|
<div className="flex items-center space-x-1">
|
||||||
<Button
|
<Button
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue