post-lint bugfixes

This commit is contained in:
Nikita Krupin 2022-07-05 21:07:12 -07:00
parent 07f7f15caa
commit 6ffb98950a
5 changed files with 31 additions and 47 deletions

View File

@ -30,18 +30,8 @@
}" }"
> >
<div <div
class="d-flex flex-column justify-center align-center" class="d-flex flex-column justify-center align-center background-opaque"
style=" style="position: absolute; top: 0; right: 0; width: 50%; height: 100%"
position: absolute;
top: 0;
right: 0;
width: 50%;
height: 100%;
background: linear-gradient(
var(--v-background-base) -1000%,
#00000000 1000%
);
"
> >
<div>420</div> <div>420</div>
<v-icon>mdi-playlist-play</v-icon> <v-icon>mdi-playlist-play</v-icon>

View File

@ -245,6 +245,14 @@ export default {
margin: 0 !important; margin: 0 !important;
} }
.container-max-height {
min-height: calc(
100vh - 8rem - env(safe-area-inset-top) - env(safe-area-inset-bottom)
) !important;
}
.background-opaque {
background: linear-gradient(var(--v-background-base) -1000%, #00000000 1000%);
}
.border-primary { .border-primary {
border: 2px solid var(--v-primary-base) !important; border: 2px solid var(--v-primary-base) !important;
} }

View File

@ -1,14 +1,7 @@
<template> <template>
<client-only> <client-only>
<!-- !IMPORTANT: don't let autoformatter format this style to multiline or else it breaks ¯\_()_/¯ --> <!-- !IMPORTANT: don't let autoformatter format this style to multiline or else it breaks ¯\_()_/¯ -->
<div <div class="container-max-height d-flex flex-column justify-end">
class="d-flex flex-column justify-end"
style="
min-height: calc(
100vh - 8rem - env(safe-area-inset-top) - env(safe-area-inset-bottom)
) !important;
"
>
<!-- ----Background Colors---- --> <!-- ----Background Colors---- -->
<v-radio-group v-model="$vuetify.theme.currentTheme.background"> <v-radio-group v-model="$vuetify.theme.currentTheme.background">
<div <div
@ -191,12 +184,6 @@ export default {
lang: {}, lang: {},
}; };
}, },
mounted() {
this.lang = this.$lang("mods").theme;
this.backgroundsLight[0].name = this.lang.normal;
this.backgroundsDark[0].name = this.lang.dark;
this.backgroundsDark[1].name = this.lang.black;
},
watch: { watch: {
// also triggers background and primary watcher, unless primary colors match // also triggers background and primary watcher, unless primary colors match
"$vuetify.theme.dark"(value) { "$vuetify.theme.dark"(value) {
@ -235,6 +222,12 @@ export default {
} }
}, },
}, },
mounted() {
this.lang = this.$lang("mods").theme;
this.backgroundsLight[0].name = this.lang.normal;
this.backgroundsDark[0].name = this.lang.dark;
this.backgroundsDark[1].name = this.lang.black;
},
beforeMount() { beforeMount() {
this.adapt(); this.adapt();
}, },

View File

@ -1,13 +1,6 @@
<template> <template>
<!-- !IMPORTANT: don't let autoformatter format this style to multiline or else it breaks ¯\_()_/¯ --> <!-- !IMPORTANT: don't let autoformatter format this style to multiline or else it breaks ¯\_()_/¯ -->
<div <div class="container-max-height d-flex flex-column justify-end">
class="d-flex flex-column justify-end"
style="
min-height: calc(
100vh - 8rem - env(safe-area-inset-top) - env(safe-area-inset-bottom)
) !important;
"
>
<!-- TODO: outer radius --> <!-- TODO: outer radius -->
<!-- TODO: Dense Navbar --> <!-- TODO: Dense Navbar -->
<!-- TODO: Disable Top Bar --> <!-- TODO: Disable Top Bar -->
@ -174,9 +167,6 @@ export default {
lang: {}, lang: {},
}; };
}, },
mounted() {
this.lang = this.$lang("mods").tweaks;
},
computed: { computed: {
roundTweak: { roundTweak: {
get() { get() {
@ -203,5 +193,8 @@ export default {
}, },
}, },
}, },
mounted() {
this.lang = this.$lang("mods").tweaks;
},
}; };
</script> </script>

View File

@ -9,16 +9,16 @@ install! 'cocoapods', :disable_input_output_paths => true
def capacitor_pods def capacitor_pods
pod 'Capacitor', :path => '../../node_modules/@capacitor/ios' pod 'Capacitor', :path => '../../node_modules/@capacitor/ios'
pod 'CapacitorCordova', :path => '../../node_modules/@capacitor/ios' pod 'CapacitorCordova', :path => '../../node_modules/@capacitor/ios'
pod 'CapacitorCommunityHttp', :path => '..\..\node_modules\@capacitor-community\http' pod 'CapacitorCommunityHttp', :path => '../../node_modules/@capacitor-community/http'
pod 'CapacitorApp', :path => '..\..\node_modules\@capacitor\app' pod 'CapacitorApp', :path => '../../node_modules/@capacitor/app'
pod 'CapacitorDevice', :path => '..\..\node_modules\@capacitor\device' pod 'CapacitorDevice', :path => '../../node_modules/@capacitor/device'
pod 'CapacitorFilesystem', :path => '..\..\node_modules\@capacitor\filesystem' pod 'CapacitorFilesystem', :path => '../../node_modules/@capacitor/filesystem'
pod 'CapacitorHaptics', :path => '..\..\node_modules\@capacitor\haptics' pod 'CapacitorHaptics', :path => '../../node_modules/@capacitor/haptics'
pod 'CapacitorShare', :path => '..\..\node_modules\@capacitor\share' pod 'CapacitorShare', :path => '../../node_modules/@capacitor/share'
pod 'CapacitorSplashScreen', :path => '..\..\node_modules\@capacitor\splash-screen' pod 'CapacitorSplashScreen', :path => '../../node_modules/@capacitor/splash-screen'
pod 'CapacitorStatusBar', :path => '..\..\node_modules\@capacitor\status-bar' pod 'CapacitorStatusBar', :path => '../../node_modules/@capacitor/status-bar'
pod 'CapacitorToast', :path => '..\..\node_modules\@capacitor\toast' pod 'CapacitorToast', :path => '../../node_modules/@capacitor/toast'
pod 'HugotomaziCapacitorNavigationBar', :path => '..\..\node_modules\@hugotomazi\capacitor-navigation-bar' pod 'HugotomaziCapacitorNavigationBar', :path => '../../node_modules/@hugotomazi/capacitor-navigation-bar'
pod 'CordovaPlugins', :path => '../capacitor-cordova-ios-plugins' pod 'CordovaPlugins', :path => '../capacitor-cordova-ios-plugins'
end end