Fix: Use minHeight.

Temporary change: Prevent TextFile from loading large content.
Fixes #1: File preview failing with JSON files.
Add a way to open text files in new tab.
This commit is contained in:
Paul committed 2021-07-06 14:58:54 +01:00
1 parent aebcf2875a
commit 7b9766cb0b
5 files changed
+25 -7

No files matched your search

+1 -1
View File
@@ -131,7 +131,7 @@ export default function TextAreaAutoSize(props: TextAreaAutoSizeProps) {
ref={ref}
value={value}
padding={padding}
style={{ height: minHeight }}
style={{ minHeight }}
hideBorder={hideBorder}
lineHeight={lineHeight}
onChange={(ev) => {