Skip to content

Commit

Permalink
Merge pull request #141 from unipept/fix/update-snackbar-layout
Browse files Browse the repository at this point in the history
Fix layout of updated snackbar
  • Loading branch information
pverscha authored Dec 1, 2021
2 parents 69c9099 + eaa9337 commit 3ff2d3b
Showing 1 changed file with 13 additions and 27 deletions.
40 changes: 13 additions & 27 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,15 @@
</v-snackbar>
</div>
<!-- Snackbar that's shown after the application has successfully been updated -->
<v-snackbar v-model="updatedSnackbar" :color="updatedColor" :timeout="-1">
{{ updateMessage }}
<v-btn text dark @click="updatedSnackbar = false">Dismiss</v-btn>
<v-btn text dark @click="closeApplication">Exit app</v-btn>
</v-snackbar>
<div class="updated-snackbar-container">
<v-snackbar v-model="updatedSnackbar" :color="updatedColor" :timeout="-1">
<div>
{{ updateMessage }}
<v-btn text dark @click="updatedSnackbar = false">Dismiss</v-btn>
<v-btn text dark @click="closeApplication">Exit app</v-btn>
</div>
</v-snackbar>
</div>
</v-main>
</v-app>
</div>
Expand Down Expand Up @@ -278,6 +282,10 @@ export default class App extends Vue implements ErrorListener {
display: block;
}
.updated-snackbar-container .v-snack__wrapper {
max-width: none;
}
.v-content__wrap .container--fluid {
padding-top: 0 !important;
padding-bottom: 0 !important;
Expand All @@ -295,26 +303,4 @@ export default class App extends Vue implements ErrorListener {
transition: none !important;
}
// .container-after-titlebar .v-app-bar {
// margin-top: 30px !important;
// }
// .container-after-titlebar .v-navigation-drawer {
// top: 30px !important;
// }
// .container-after-titlebar {
// top: 0 !important;
// position: static !important;
// margin-top: 30px !important;
// }
// .container-after-titlebar .v-content__wrap {
// max-height: 100vh;
// }
// .container-after-titlebar .v-content__wrap > .container {
// height: 100%;
// overflow-y: scroll;
// }
</style>

0 comments on commit 3ff2d3b

Please sign in to comment.