Remove all non-essential js related to uikit. (#585)

* Remove all non-essential js related to uikit.

* Add padding to the bottom of the grid.
This commit is contained in:
Kavin 2021-10-31 17:44:36 +00:00 committed by GitHub
parent 8ce26ee3b1
commit 1c03633c62
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 12 additions and 9 deletions

View File

@ -115,4 +115,8 @@ b {
* { * {
scrollbar-color: #15191a #444a4e; scrollbar-color: #15191a #444a4e;
} }
.uk-grid > div {
padding-bottom: 1vh;
}
</style> </style>

View File

@ -21,7 +21,7 @@
<hr /> <hr />
<div class="uk-grid-xl" uk-grid="parallax: 0"> <div class="uk-grid uk-grid-xl">
<div <div
v-for="video in channel.relatedStreams" v-for="video in channel.relatedStreams"
:key="video.url" :key="video.url"

View File

@ -27,7 +27,7 @@
<hr /> <hr />
<div class="uk-grid-xl" uk-grid="parallax: 0"> <div class="uk-grid uk-grid-xl">
<div <div
v-for="video in videos" v-for="video in videos"
:key="video.url" :key="video.url"

View File

@ -13,7 +13,7 @@
<hr /> <hr />
<div class="uk-grid-xl" uk-grid="parallax: 0"> <div class="uk-grid uk-grid-xl">
<div <div
v-for="video in videos" v-for="video in videos"
:key="video.url" :key="video.url"

View File

@ -1,6 +1,6 @@
<template> <template>
<nav <nav
class="uk-navbar-container uk-container-expand uk-position-relative" class="uk-navbar uk-navbar-container uk-container-expand uk-position-relative"
:style="[{ background: backgroundColor, colour: foregroundColor }]" :style="[{ background: backgroundColor, colour: foregroundColor }]"
uk-navbar uk-navbar
> >

View File

@ -22,7 +22,7 @@
<hr /> <hr />
<div class="uk-grid-xl" uk-grid="parallax: 0"> <div class="uk-grid uk-grid-xl">
<div <div
v-for="video in playlist.relatedStreams" v-for="video in playlist.relatedStreams"
:key="video.url" :key="video.url"

View File

@ -30,7 +30,7 @@
</i> </i>
</div> </div>
<div v-if="results" class="uk-grid-xl" uk-grid="parallax: 0"> <div v-if="results" class="uk-grid uk-grid-xl">
<div <div
v-for="result in results.items" v-for="result in results.items"
:key="result.url" :key="result.url"

View File

@ -3,7 +3,7 @@
<hr /> <hr />
<div class="uk-grid-xl" uk-grid="parallax: 0"> <div class="uk-grid uk-grid-xl">
<div <div
v-for="video in videos" v-for="video in videos"
:key="video.url" :key="video.url"

View File

@ -126,7 +126,7 @@
<hr /> <hr />
<div uk-grid> <div class="uk-grid">
<div v-if="comments" ref="comments" class="uk-width-4-5@xl uk-width-3-4@s uk-width-1"> <div v-if="comments" ref="comments" class="uk-width-4-5@xl uk-width-3-4@s uk-width-1">
<div <div
v-for="comment in comments.comments" v-for="comment in comments.comments"

View File

@ -31,7 +31,6 @@ library.add(
); );
import("uikit/dist/css/uikit-core.css"); import("uikit/dist/css/uikit-core.css");
import("uikit/dist/js/uikit-core.min");
import router from "@/router/router"; import router from "@/router/router";
import App from "./App.vue"; import App from "./App.vue";