- ${fileIcon(file.name, file._hasPassword)}
-
+
-
`;
function toastClick() {
diff --git a/app/templates/fileIcon/fileIcon.css b/app/templates/fileIcon/fileIcon.css
index e5f1a89b..ab08a622 100644
--- a/app/templates/fileIcon/fileIcon.css
+++ b/app/templates/fileIcon/fileIcon.css
@@ -25,4 +25,5 @@
font-size: 7px;
font-weight: 600;
text-transform: uppercase;
+ user-select: none;
}
diff --git a/app/templates/fileList/fileList.css b/app/templates/fileList/fileList.css
index 2e3f0d93..787f9c31 100644
--- a/app/templates/fileList/fileList.css
+++ b/app/templates/fileList/fileList.css
@@ -1,21 +1,28 @@
.fileList {
- position: absolute;
- bottom: 0;
- list-style-type: none;
margin: 0;
- padding: 3px;
- font-family: 'Segoe UI', 'SF Pro Text', sans-serif;
+ padding: 0;
width: 262px;
- max-height: 80%;
- overflow-y: scroll;
- overflow-x: hidden;
+ min-height: 100%;
+ height: 100%;
+ flex-grow: 1;
+ display: flex;
+ flex-direction: column;
+ list-style-type: none;
+ overflow: scroll;
+ font-family: 'Segoe UI', 'SF Pro Text', sans-serif;
+}
+
+/* hack because justify-content:flex-end and overflow:scroll doesn't work together */
+.fileList > :first-child {
+ margin-top: auto;
}
@media (max-device-width: 750px), (max-width: 750px) {
.fileList {
+ flex: none;
position: static;
- width: 400px;
+ width: 406px;
max-height: 160px;
- margin: 6px 0 0 -3px;
+ margin: 0;
}
}
diff --git a/app/templates/fxPromo/fxPromo.css b/app/templates/fxPromo/fxPromo.css
index a1b648df..c1582fcc 100644
--- a/app/templates/fxPromo/fxPromo.css
+++ b/app/templates/fxPromo/fxPromo.css
@@ -1,4 +1,5 @@
.fxPromo {
+ flex: none;
padding: 0 15px;
height: 48px;
background-color: #efeff1;
diff --git a/app/templates/uploadedFileList/uploadedFileList.css b/app/templates/uploadedFileList/uploadedFileList.css
index 378faf5e..2784a3c7 100644
--- a/app/templates/uploadedFileList/uploadedFileList.css
+++ b/app/templates/uploadedFileList/uploadedFileList.css
@@ -7,4 +7,5 @@
align-content: center;
flex: 1;
overflow-y: scroll;
+ overflow-x: hidden;
}