add comment to justify style block

This commit is contained in:
Ethan Garber 2025-07-15 21:14:24 -04:00
parent b0e66993fe
commit a3b95f01de

View File

@ -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;