forked from abner/for-legacy-web
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:
1 parent
aebcf2875a
commit
7b9766cb0b
5 files changed
+25
-7
No files matched your search
@@ -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) => {
|
||||
|
||||
Reference in new issue
Block a user