mirror of
https://github.com/pockethost/pockethost.git
synced 2025-06-24 23:12:30 +00:00
fix: <CodeSample/> extra border visible in dark mode
Background color is incomplete in dark mode
This commit is contained in:
parent
9c80b4e308
commit
2ad1d16a0e
@ -12,7 +12,7 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div class="copy-container">
|
<div class="copy-container">
|
||||||
<Highlight language={typescript} {code} />
|
<Highlight class="pre" language={typescript} {code} />
|
||||||
|
|
||||||
<div class="copy-button">
|
<div class="copy-button">
|
||||||
<CopyButton {code} copy={handleCopy} />
|
<CopyButton {code} copy={handleCopy} />
|
||||||
@ -30,5 +30,9 @@
|
|||||||
top: 2px;
|
top: 2px;
|
||||||
right: 2px;
|
right: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.pre{
|
||||||
|
margin-bottom: 0 ;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
Loading…
x
Reference in New Issue
Block a user