Rewrite InputWaiter to be less messy.

Don't create a DOM element for every tab, just reuse the same ones.
Display file information while the files are loading.
(Output tabs no longer work)
This commit is contained in:
j433866 2019-03-29 13:29:24 +00:00
parent a2cc7a84db
commit c289e1beef
6 changed files with 884 additions and 378 deletions

View file

@ -24,6 +24,21 @@
word-wrap: break-word;
}
#output-wrapper{
margin: 0;
padding: 0;
height: calc(100% - var(--title-height));
}
#output-wrapper .textarea-wrapper {
width: 100%;
height: 100%;
box-sizing: border-box;
overflow: hidden;
pointer-events: auto;
}
#output-html {
display: none;
overflow-y: auto;
@ -91,7 +106,7 @@
width: fit-content;
}
.textarea-wrapper {
.input-wrapper.textarea-wrapper {
width: 100%;
height: calc(100% - var(--title-height));
box-sizing: border-box;