add comment to justify style block
This commit is contained in:
parent
b0e66993fe
commit
a3b95f01de
@ -80,6 +80,8 @@ function RenderMarkdownComponent({
|
|||||||
return !isInline && !isUser ? (
|
return !isInline && !isUser ? (
|
||||||
<div className="relative overflow-hidden border rounded-md border-main-view-fg/2">
|
<div className="relative overflow-hidden border rounded-md border-main-view-fg/2">
|
||||||
<style>
|
<style>
|
||||||
|
{/* Disable selection of line numbers. React Syntax Highlighter currently has
|
||||||
|
unfixed bug so we can't use the lineNumberContainerStyleProp */}
|
||||||
{`
|
{`
|
||||||
.react-syntax-highlighter-line-number {
|
.react-syntax-highlighter-line-number {
|
||||||
user-select: none;
|
user-select: none;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user