FILEUP



LOG | FILES | OVERVIEW


F diff --git a/css/style.css b/css/style.css --- a/css/style.css +++ b/css/style.css
}
.files {
- padding: 1rem;
+ padding: 0.3rem;
display: grid;
grid-gap: 0rem;
- grid-auto-rows: 10rem;
- grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr));
+ grid-auto-rows: 8rem;
+ grid-template-columns: repeat(auto-fill, minmax(7rem, 1fr));
}
.file {
flex-direction: column;
align-items: center;
border: 1px solid #fafafa;
- border-radius: 0.3rem;
+ border-radius: 0.1rem;
}
.file.dragged {
}
.file > img {
- flex: 1 0 0;
+ flex: 1 1 0;
+ min-width: 0;
+ min-height: 0;
}
.file:hover > img {
font-weight: normal;
padding: 0rem;
border-bottom: 1px solid #bbb;
-
+ font-size: 1.3rem;
}
.filesystem > h2 button {
border: none;
- padding: 0.3rem 1.1rem;
+ padding: 0.3rem 1rem;
background: inherit;
border-radius: 0;
}
user-select: none;
-webkit-user-select: none;
-ms-user-select: none;
- padding: 0 0.2rem;
+ padding: 0 0.1rem;
align-self: center;
}
F diff --git a/loggedin.js b/loggedin.js --- a/loggedin.js +++ b/loggedin.js
- var FORM_ASYNC = false;
+ var FORM_ASYNC = true;
const upload_form = document.getElementById("upload_form");
const the_file = document.getElementById("the_file");