Skip to content

Commit

Permalink
fix: backdrop borking v-app
Browse files Browse the repository at this point in the history
Backdrop was breaking v-app's behaviour. The order of the elements is important for things like v-hover to work properly
  • Loading branch information
ferferga committed Jan 25, 2023
1 parent 12ad779 commit f24a4e5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/App.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<backdrop />
<v-app>
<backdrop />
<router-view-transition is-root />
<snackbar />
<player-element />
Expand Down
6 changes: 6 additions & 0 deletions frontend/src/components/Layout/Backdrop.vue
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@ const opacity = computed(() => route.meta.backdrop?.opacity || 0.25);
.backdrop {
background-color: rgb(var(--v-theme-background));
opacity: v-bind(opacity);
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
background-size: cover;
& canvas {
position: fixed;
Expand Down

0 comments on commit f24a4e5

Please sign in to comment.