fix: <CodeSample/> extra border visible in dark mode

Background color is incomplete in dark mode
This commit is contained in:
IanBR 2022-11-30 13:36:45 -03:00 committed by GitHub
parent 9c80b4e308
commit 2ad1d16a0e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,7 +12,7 @@
</script>
<div class="copy-container">
<Highlight language={typescript} {code} />
<Highlight class="pre" language={typescript} {code} />
<div class="copy-button">
<CopyButton {code} copy={handleCopy} />
@ -30,5 +30,9 @@
top: 2px;
right: 2px;
}
.pre{
margin-bottom: 0 ;
}
}
</style>