mirror of
https://github.com/bendtherules/ts-transformer-visualizer.git
synced 2026-08-18 13:51:48 +00:00
CodeOutput - Make font size bigger
This commit is contained in:
@@ -21,8 +21,15 @@ function CodeOutputDiff(props: CodeOutputProps) {
|
|||||||
const initialCodeString = getCodeString(inititalSourceFile);
|
const initialCodeString = getCodeString(inititalSourceFile);
|
||||||
const currentCodeString = getCodeString(currentSourceFile);
|
const currentCodeString = getCodeString(currentSourceFile);
|
||||||
|
|
||||||
|
const codeStyles = {
|
||||||
|
line: {
|
||||||
|
fontSize: "20px"
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<ReactDiffViewer
|
<ReactDiffViewer
|
||||||
|
styles={codeStyles}
|
||||||
oldValue={initialCodeString}
|
oldValue={initialCodeString}
|
||||||
newValue={currentCodeString}
|
newValue={currentCodeString}
|
||||||
splitView={true}
|
splitView={true}
|
||||||
|
|||||||
Reference in New Issue
Block a user