mirror of
https://github.com/Alvin-Zilverstand/return-youtube-dislike.git
synced 2026-12-03 19:31:20 +01:00
nuxt/vuetify css rendering glitch fixes
This commit is contained in:
1 parent
25d3cc762c
commit
a622298559
4 files changed
+55
-24
No files matched your search
@@ -141,6 +141,9 @@ body {
|
|||||||
margin: 0.25em;
|
margin: 0.25em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.title-text {
|
||||||
|
font-size: 3rem;
|
||||||
|
}
|
||||||
.topBar {
|
.topBar {
|
||||||
padding: 0 3rem;
|
padding: 0 3rem;
|
||||||
width: fit-content !important;
|
width: fit-content !important;
|
||||||
@@ -151,10 +154,12 @@ body {
|
|||||||
/* border: 1px solid #222; */
|
/* border: 1px solid #222; */
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
.title-text {
|
|
||||||
font-size: 3rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
/* used in docs.vue */
|
||||||
|
.flex-wrapper {
|
||||||
|
display: flex;
|
||||||
|
flex-wrap: nowrap;
|
||||||
|
}
|
||||||
@media (max-width: 768px) {
|
@media (max-width: 768px) {
|
||||||
/* mobile */
|
/* mobile */
|
||||||
.title-text {
|
.title-text {
|
||||||
@@ -166,6 +171,35 @@ body {
|
|||||||
) !important; /* (2rem = mx-4) 1rem on left, 1rem on right */
|
) !important; /* (2rem = mx-4) 1rem on left, 1rem on right */
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
.flex-wrapper {
|
||||||
|
display: flex;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* used in docs.vue, help.vue and faq.vue */
|
||||||
|
.width-constraint {
|
||||||
|
max-width: auto;
|
||||||
|
margin: 0 auto;
|
||||||
|
}
|
||||||
|
@media (min-width: 960px) {
|
||||||
|
/* tablet */
|
||||||
|
.width-constraint {
|
||||||
|
width: 75vw;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@media (min-width: 1264px) {
|
||||||
|
/* desktop */
|
||||||
|
.width-constraint {
|
||||||
|
width: 60vw;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (min-width: 1904) {
|
||||||
|
/* 4k/ultrawide */
|
||||||
|
.width-constraint {
|
||||||
|
width: 42vw;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* animations and all that */
|
/* animations and all that */
|
||||||
@@ -179,7 +213,6 @@ body {
|
|||||||
.swoop-right-leave-active {
|
.swoop-right-leave-active {
|
||||||
transition-duration: 0.1s;
|
transition-duration: 0.1s;
|
||||||
transition-property: opacity, transform;
|
transition-property: opacity, transform;
|
||||||
overflow: hidden;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.swoop-left-enter,
|
.swoop-left-enter,
|
||||||
|
|||||||
+16
-18
@@ -1,29 +1,27 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="row wrap justify-center full-width mx-auto" style="width: 80vw">
|
<!-- min-height overrides vertical centering from the parent default.vue layout -->
|
||||||
<!-- Left Section // "Sections" Card -->
|
<div
|
||||||
<v-card
|
class="width-constraint flex-wrapper"
|
||||||
class="col-xs-12 mx-2 elevation-0"
|
style="min-height: calc(100vh - 10rem); position: relative"
|
||||||
|
>
|
||||||
|
<!-- docs navigation -->
|
||||||
|
<v-list
|
||||||
|
class="py-0 mr-3"
|
||||||
style="
|
style="
|
||||||
background: transparent;
|
background: transparent;
|
||||||
height: max-content;
|
|
||||||
position: sticky;
|
position: sticky;
|
||||||
top: 5.5rem;
|
top: 6rem;
|
||||||
max-width: 500px;
|
align-self: flex-start;
|
||||||
"
|
"
|
||||||
>
|
>
|
||||||
<!-- <v-card-title style="padding-bottom: 0 !important; color: #aaa">
|
|
||||||
Sections
|
|
||||||
</v-card-title> -->
|
|
||||||
<v-list style="background: transparent">
|
|
||||||
<!-- Dynamically Generate Links From Below -->
|
|
||||||
<v-list-item
|
<v-list-item
|
||||||
v-for="(item, i) in links"
|
v-for="(item, i) in links"
|
||||||
:key="i"
|
:key="i"
|
||||||
:to="item.to"
|
:to="item.to"
|
||||||
router
|
router
|
||||||
class="mt-4"
|
class="mb-4"
|
||||||
color="primary"
|
color="primary"
|
||||||
style="overflow: hidden; border-radius: 0.75rem"
|
style="overflow: hidden !important; border-radius: 0.75rem"
|
||||||
>
|
>
|
||||||
<v-list-item-title style="text-align: right">
|
<v-list-item-title style="text-align: right">
|
||||||
<v-list-item-title v-text="item.text" />
|
<v-list-item-title v-text="item.text" />
|
||||||
@@ -33,16 +31,16 @@
|
|||||||
</v-list-item-icon>
|
</v-list-item-icon>
|
||||||
</v-list-item>
|
</v-list-item>
|
||||||
</v-list>
|
</v-list>
|
||||||
</v-card>
|
|
||||||
|
|
||||||
<!-- Child Pages // Card -->
|
<!-- docs content -->
|
||||||
<v-card
|
<v-card
|
||||||
class="col-xs-12 col-md-6 text-left mx-2 my-6 pa-8"
|
class="text-left pa-8"
|
||||||
style="
|
style="
|
||||||
|
flex-grow: 2;
|
||||||
height: max-content;
|
height: max-content;
|
||||||
|
max-width: 90vw !important;
|
||||||
background-color: #222;
|
background-color: #222;
|
||||||
border-radius: 0.75rem;
|
border-radius: 0.75rem;
|
||||||
width: 90%;
|
|
||||||
"
|
"
|
||||||
>
|
>
|
||||||
<NuxtChild />
|
<NuxtChild />
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="col-xs-12 col-sm-11 col-md-9 col-lg-7 mx-auto">
|
<div class="width-constraint">
|
||||||
<h1 class="title-text">Frequently Asked Questions</h1>
|
<h1 class="title-text">Frequently Asked Questions</h1>
|
||||||
<p style="color: #999; margin-top: 0.5rem; margin-bottom: 1.5rem">
|
<p style="color: #999; margin-top: 0.5rem; margin-bottom: 1.5rem">
|
||||||
Still have questions? Feel free to join our Discord!
|
Still have questions? Feel free to join our Discord!
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="col-xs-12 col-sm-11 col-md-9 col-lg-7 mx-auto">
|
<div class="width-constraint">
|
||||||
<h1 class="title-text pt-12">Troubleshooting</h1>
|
<h1 class="title-text pt-12">Troubleshooting</h1>
|
||||||
<ol style="line-height: 3rem; color: #aaa" class="text-left">
|
<ol style="line-height: 3rem; color: #aaa" class="text-left">
|
||||||
<li>
|
<li>
|
||||||
|
|||||||
Reference in new issue
Block a user