+
Admin
Users
@@ -19,7 +20,7 @@ export function Admin() {
Files
-
+
);
}
}
\ No newline at end of file
diff --git a/VoidCat/spa/src/Admin/FileList.css b/VoidCat/spa/src/Admin/FileList.css
index 1555029..2901fda 100644
--- a/VoidCat/spa/src/Admin/FileList.css
+++ b/VoidCat/spa/src/Admin/FileList.css
@@ -1,3 +1,6 @@
table.file-list {
width: 100%;
+ word-break: keep-all;
+ text-overflow: ellipsis;
+ white-space: nowrap;
}
\ No newline at end of file
diff --git a/VoidCat/spa/src/App.css b/VoidCat/spa/src/App.css
index 21ea34e..2ee17ac 100644
--- a/VoidCat/spa/src/App.css
+++ b/VoidCat/spa/src/App.css
@@ -1,15 +1,2 @@
.app {
- width: 720px;
- margin-left: auto;
- margin-right: auto;
-}
-
- .app .drop {
- border-radius: 20px;
- border: 1px solid;
- margin-top: 20vh;
- text-align: center;
- line-height: 300px;
- user-select: none;
- cursor: pointer;
- }
\ No newline at end of file
+}
\ No newline at end of file
diff --git a/VoidCat/spa/src/Dropzone.css b/VoidCat/spa/src/Dropzone.css
new file mode 100644
index 0000000..0c26f98
--- /dev/null
+++ b/VoidCat/spa/src/Dropzone.css
@@ -0,0 +1,9 @@
+.drop {
+ border-radius: 20px;
+ border: 1px solid;
+ margin-top: 20vh;
+ text-align: center;
+ line-height: 300px;
+ user-select: none;
+ cursor: pointer;
+}
\ No newline at end of file
diff --git a/VoidCat/spa/src/Dropzone.js b/VoidCat/spa/src/Dropzone.js
index 5132882..debf8ac 100644
--- a/VoidCat/spa/src/Dropzone.js
+++ b/VoidCat/spa/src/Dropzone.js
@@ -1,6 +1,8 @@
import {Fragment, useState} from "react";
import {FileUpload} from "./FileUpload";
+import "./Dropzone.css";
+
export function Dropzone(props) {
let [files, setFiles] = useState([]);
diff --git a/VoidCat/spa/src/FilePreview.css b/VoidCat/spa/src/FilePreview.css
index 7c1048f..f09a1f6 100644
--- a/VoidCat/spa/src/FilePreview.css
+++ b/VoidCat/spa/src/FilePreview.css
@@ -1,6 +1,9 @@
.preview {
text-align: center;
margin-top: 2vh;
+ width: 720px;
+ margin-left: auto;
+ margin-right: auto;
}
.preview > a {
diff --git a/VoidCat/spa/src/FilePreview.js b/VoidCat/spa/src/FilePreview.js
index 045e19d..fc0bf22 100644
--- a/VoidCat/spa/src/FilePreview.js
+++ b/VoidCat/spa/src/FilePreview.js
@@ -34,6 +34,8 @@ export function FilePreview() {
case "image/png": {
return
;
}
+ case "audio/mp3":
+ case "audio/ogg":
case "video/mp4":
case "video/matroksa":
case "video/x-matroska":
@@ -41,6 +43,7 @@ export function FilePreview() {
case "video/quicktime": {
return ;
}
+ case "text/css":
case "text/plain": {
return ;
}
diff --git a/VoidCat/spa/src/HomePage.css b/VoidCat/spa/src/HomePage.css
new file mode 100644
index 0000000..7ea4c27
--- /dev/null
+++ b/VoidCat/spa/src/HomePage.css
@@ -0,0 +1,5 @@
+.home {
+ width: 720px;
+ margin-left: auto;
+ margin-right: auto;
+}
\ No newline at end of file
diff --git a/VoidCat/spa/src/HomePage.js b/VoidCat/spa/src/HomePage.js
index 6d049d4..4a47577 100644
--- a/VoidCat/spa/src/HomePage.js
+++ b/VoidCat/spa/src/HomePage.js
@@ -1,14 +1,15 @@
-import {Fragment} from "react";
-import {Dropzone} from "./Dropzone";
+import {Dropzone} from "./Dropzone";
import {GlobalStats} from "./GlobalStats";
import {FooterLinks} from "./FooterLinks";
-export function HomePage(props) {
+import "./HomePage.css";
+
+export function HomePage() {
return (
-
+
-
+
);
}
\ No newline at end of file