Fix double #app id

This commit is contained in:
Kasper Seweryn 2022-05-01 13:50:32 +02:00 committed by Georg Krause
parent 3915716dd6
commit f1724fb5ea
2 changed files with 6 additions and 7 deletions

View File

@ -119,7 +119,6 @@ const showSetInstanceModal = ref(false)
<template> <template>
<div <div
id="app"
:key="String(store.state.instance.instanceUrl)" :key="String(store.state.instance.instanceUrl)"
:class="[store.state.ui.queueFocused ? 'queue-focused' : '', :class="[store.state.ui.queueFocused ? 'queue-focused' : '',
{'has-bottom-player': store.state.queue.tracks.length > 0}]" {'has-bottom-player': store.state.queue.tracks.length > 0}]"

View File

@ -28,7 +28,7 @@
justify-content: space-between !important; justify-content: space-between !important;
} }
} }
#app:not(.queue-focused) { #app > :not(.queue-focused) {
.when-queue-focused { .when-queue-focused {
@include media("<desktop") { @include media("<desktop") {
display: none; display: none;
@ -36,7 +36,7 @@
} }
} }
#app { #app > div {
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale; -moz-osx-font-smoothing: grayscale;
display: flex; display: flex;
@ -54,12 +54,12 @@
border-bottom: none; border-bottom: none;
border-top: 1px solid rgba(34, 36, 38, 0.15); border-top: 1px solid rgba(34, 36, 38, 0.15);
} }
#app > main, #app > .main { #app > div > main, #app > .main {
flex: 1; flex: 1;
} }
#app { #app > div {
> .main.pusher, > .main.pusher,
> .footer { > .footer {
position: relative; position: relative;
@ -144,7 +144,7 @@
} }
} }
} }
#app.queue-focused { #app > .queue-focused {
.queue-not-focused { .queue-not-focused {
@include media("<desktop") { @include media("<desktop") {
display: none; display: none;