tweaks for the code preview

This commit is contained in:
zadam
2020-04-26 12:06:54 +02:00
parent a1ea2c9115
commit 8f68ff1932
2 changed files with 2 additions and 2 deletions

View File

@@ -195,7 +195,7 @@ export default class NoteDetailWidget extends TabAwareWidget {
const noteComplement = await this.tabContext.getNoteComplement();
if (note.hasLabel('readOnly') ||
(noteComplement.content && noteComplement.content.length > 10000)) {
(noteComplement.content && noteComplement.content.length > 30000)) {
type = 'read-only-code';
}
}