Skip to content

Commit

Permalink
fix: readme editor active line highlight fix (#1646)
Browse files Browse the repository at this point in the history
  • Loading branch information
orangecoloured authored Dec 9, 2024
1 parent b1e1722 commit 1f07494
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/toolkit/src/components/ReadmeEditor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,10 @@ export const ReadmeEditor = ({
readOnly={!canEdit}
markdown={content}
onChange={debouncedUpdateModelReadme}
className="bg-semantic-fg-on-default overflow-y-auto h-full [&_.cm-editor]:outline-none [&_.cm-gutters]:bg-semantic-bg-alt-primary [&_.cm-activeLine]:bg-semantic-bg-alt-primary [&_.cm-activeLineGutter]:bg-semantic-bg-alt-primary [&_.cm-tooltip-autocomplete]:bg-semantic-bg-base-bg"
className={cn(
"bg-semantic-fg-on-default overflow-y-auto h-full [&_.cm-editor]:outline-none [&_.cm-gutters]:bg-semantic-bg-alt-primary [&_.cm-activeLine]:bg-transparent [&_.cm-activeLineGutter]:bg-semantic-bg-alt-primary [&_.cm-tooltip-autocomplete]:bg-semantic-bg-base-bg",
"[&_.cm-activeLine]:outline [&_.cm-activeLine]:outline-1 [&_.cm-activeLine]:outline-[#dce7fe]",
)}
/>
</div>
) : (
Expand Down

0 comments on commit 1f07494

Please sign in to comment.