Add file plugin to display plain text files

This commit is contained in:
ClemDee
2019-07-22 12:02:24 +02:00
parent 0636714829
commit 98abe3d791
2 changed files with 43 additions and 0 deletions

View File

@@ -52,6 +52,16 @@
max-width: 100%;
max-height: ~"calc(100vh - 96px)";
}
.plain-text-reader {
align-self: flex-start;
width: 90vw;
height: 100%;
padding: 2em;
background-color: white;
overflow-y: auto;
word-wrap: break-word;
white-space: pre-wrap;
}
}
#cp-app-file-upload-form, #cp-app-file-download-form {