add comment to justify style block
This commit is contained in:
parent
b0e66993fe
commit
a3b95f01de
@ -80,6 +80,8 @@ function RenderMarkdownComponent({
|
||||
return !isInline && !isUser ? (
|
||||
<div className="relative overflow-hidden border rounded-md border-main-view-fg/2">
|
||||
<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 {
|
||||
user-select: none;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user