- client: 2254 Fix textarea with comments fonts

Close #2254

* commit 'd747185b45e9300b771c69dd27a2757fc40b52f6':
  - client: 2254 Fix textarea with comments fonts
This commit is contained in:
Artem Baskal 2020-11-03 12:36:57 +03:00
commit 64c1a68fb9
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); 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) => { export const syncScroll = (e, ref) => {