general performance cleanup

This commit is contained in:
Front 2022-03-13 16:59:01 -04:00
parent fa876c02a6
commit 6ff5c51c3a
3 changed files with 9 additions and 4 deletions

View File

@ -1,4 +1,4 @@
# BetterTube # VueTube
## Build Setup ## Build Setup

View File

@ -122,6 +122,11 @@ export default {
//--- Load Saved Theme ---// //--- Load Saved Theme ---//
const theme = this.$auth.$storage.getLocalStorage("darkTheme"); const theme = this.$auth.$storage.getLocalStorage("darkTheme");
if (theme != undefined) { if (theme != undefined) {
/*
this.$vuetify.theme.themes.dark.accent = '#222',
this.$vuetify.theme.themes.dark.accent2 = '#222',
this.$vuetify.theme.themes.dark.background = '#333'
*/
this.$vuetify.theme.dark = theme; this.$vuetify.theme.dark = theme;
} }

View File

@ -16,9 +16,8 @@
<v-img :src="video.thumbnails[video.thumbnails.length - 1].url" /> <v-img :src="video.thumbnails[video.thumbnails.length - 1].url" />
<p v-text="video.runtime" class="videoRuntimeFloat background--text" /> <p v-text="video.runtime" class="videoRuntimeFloat background--text" />
</div> </div>
<p v-text="video.title" /> <div v-text="video.title" style="margin-top: 0.5em;" />
<p v-text="`${video.views} ${video.uploaded}`" /> <div v-text="`${video.views} ${video.uploaded}`" />
<p v-text="video.id" />
</v-card-text> </v-card-text>
</v-card> </v-card>
</v-list-item> </v-list-item>
@ -28,6 +27,7 @@
<style scoped> <style scoped>
.entry { .entry {
margin-top: 1em; margin-top: 1em;
width: 100%; /* Prevent Loading Issues */
} }
.videoRuntimeFloat { .videoRuntimeFloat {
position: absolute; position: absolute;