0
0
Fork 0
mirror of https://github.com/VueTubeApp/VueTube synced 2024-11-06 11:35:07 +00:00
VueTube/NUXT/components/dialogBase.vue

31 lines
690 B
Vue
Raw Normal View History

2022-04-19 14:03:46 +00:00
<template>
<v-card flat class="dialog-base background">
<div
class="toolbar-container d-flex flex-column background"
style="flex-direction: column !important"
>
2022-12-27 16:44:51 +00:00
<v-toolbar color="background" style="position: sticky; top: 0" flat>
2022-04-19 14:03:46 +00:00
<slot name="header"></slot>
</v-toolbar>
<v-divider></v-divider>
2022-04-19 14:03:46 +00:00
</div>
<div class="dialog-body background">
<slot></slot>
</div>
2022-05-07 04:54:08 +00:00
<v-expand-transition>
<slot name="reveal"></slot>
</v-expand-transition>
2022-04-19 14:03:46 +00:00
</v-card>
</template>
<style lang="sass">
.dialog-base
display: flex
flex-direction: column
height: 100%
.dialog-body
overflow-y: auto
height: 100%
</style>