From 716396a726329f0ba42fc34167dd07497c5bf47c Mon Sep 17 00:00:00 2001
From: Ramires Viana <59319979+ramiresviana@users.noreply.github.com>
Date: Tue, 14 Jul 2020 01:19:48 +0000
Subject: [PATCH] feat: add previewer title and loading indicator
---
frontend/public/themes/dark.css | 2 +-
frontend/src/components/files/Preview.vue | 37 ++++++++++++++++-------
frontend/src/css/styles.css | 12 +++++++-
3 files changed, 38 insertions(+), 13 deletions(-)
diff --git a/frontend/public/themes/dark.css b/frontend/public/themes/dark.css
index e916457a..1ee5f1ac 100644
--- a/frontend/public/themes/dark.css
+++ b/frontend/public/themes/dark.css
@@ -16,7 +16,7 @@ body {
#loading {
background: var(--background);
}
-#loading .spinner div {
+#loading .spinner div, #previewer .loading .spinner div {
background: var(--icon);
}
diff --git a/frontend/src/components/files/Preview.vue b/frontend/src/components/files/Preview.vue
index 1294fa5f..f0a7ef02 100644
--- a/frontend/src/components/files/Preview.vue
+++ b/frontend/src/components/files/Preview.vue
@@ -5,18 +5,33 @@
close
-