- client: 2254 Fix textarea with comments fonts

This commit is contained in:
ArtemBaskal 2020-11-03 12:07:01 +03:00
parent 8afdc049ef
commit d747185b45
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ export const getTextareaCommentsHighlight = (
) => {
const renderLine = (line, idx) => renderHighlightedLine(line, idx, commentLineTokens);
return <code className={classnames('text-output', className)} ref={ref}>{lines?.split('\n').map(renderLine)}</code>;
return <code className={classnames('text-output font-monospace', className)} ref={ref}>{lines?.split('\n').map(renderLine)}</code>;
};
export const syncScroll = (e, ref) => {