From e3df414cdbb37bd26ef36231c1d25625aba8cf8e Mon Sep 17 00:00:00 2001 From: FireMaskterK <20838718+FireMasterK@users.noreply.github.com> Date: Sun, 31 Oct 2021 18:36:47 +0000 Subject: [PATCH] Simplify uk-button css. --- src/App.vue | 4 ++++ src/components/Channel.vue | 8 +------- src/components/ErrorHandler.vue | 9 +++++++-- src/components/FeedPage.vue | 2 +- src/components/ImportPage.vue | 7 +------ src/components/LoginPage.vue | 6 +----- src/components/RegisterPage.vue | 6 +----- src/components/SubscriptionsPage.vue | 9 ++------- src/components/WatchVideo.vue | 25 +++++-------------------- 9 files changed, 23 insertions(+), 53 deletions(-) diff --git a/src/App.vue b/src/App.vue index f530fb27..a5fa1e81 100644 --- a/src/App.vue +++ b/src/App.vue @@ -119,4 +119,8 @@ b { .uk-grid > div { padding-bottom: 1vh; } + +.uk-button { + background: #222; +} diff --git a/src/components/Channel.vue b/src/components/Channel.vue index 4447d7dc..c702de7d 100644 --- a/src/components/Channel.vue +++ b/src/components/Channel.vue @@ -9,13 +9,7 @@

- diff --git a/src/components/ErrorHandler.vue b/src/components/ErrorHandler.vue index bfda08c8..d6b2268a 100644 --- a/src/components/ErrorHandler.vue +++ b/src/components/ErrorHandler.vue @@ -1,9 +1,9 @@ diff --git a/src/components/FeedPage.vue b/src/components/FeedPage.vue index d3c86dc3..73d171ac 100644 --- a/src/components/FeedPage.vue +++ b/src/components/FeedPage.vue @@ -4,7 +4,7 @@
- + {{ showDesc ? $t("actions.minimize_description") : $t("actions.show_description") }} @@ -139,11 +128,7 @@
- + {{ showRecs ? $t("actions.minimize_recommendations") : $t("actions.show_recommendations") }}
{ const videoId = this.getVideoId(); const instance = this; - if (window.db) { + if (window.db && !this.video.error) { var tx = window.db.transaction("watch_history", "readwrite"); var store = tx.objectStore("watch_history"); var request = store.get(videoId);