From 7194ebf248d0837273a8679c49fbb137280fa959 Mon Sep 17 00:00:00 2001 From: sigoden Date: Sun, 19 Jun 2022 22:16:43 +0800 Subject: [PATCH] chore: adjust ui --- assets/index.css | 3 ++- assets/index.html | 2 +- assets/index.js | 4 +++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/assets/index.css b/assets/index.css index 97cff75..40e46c7 100644 --- a/assets/index.css +++ b/assets/index.css @@ -46,6 +46,7 @@ html { .toolbox { display: flex; + margin-right: 10px; } .searchbar { @@ -57,7 +58,7 @@ html { transition: all .15s; border: 1px #ddd solid; border-radius: 15px; - margin: 0 0 2px 10px; + margin-bottom: 2px; } .searchbar #search { diff --git a/assets/index.html b/assets/index.html index 1518787..8cabff5 100644 --- a/assets/index.html +++ b/assets/index.html @@ -36,7 +36,7 @@ Name - Speed - Progress - Time Left + Progress diff --git a/assets/index.js b/assets/index.js index 2159f1f..c447407 100644 --- a/assets/index.js +++ b/assets/index.js @@ -67,8 +67,10 @@ class Uploader { let url = getUrl(name); $uploadersTable.insertAdjacentHTML("beforeend", ` + + ${getSvg(file.path_type)} + - ${getSvg("File")} ${name}