Room info bottom sheet imrovements

This commit is contained in:
10G Meow 2022-06-19 10:42:17 +03:00 committed by n8fr8
parent 4b805b8f06
commit 52c0dd8daa
2 changed files with 18 additions and 0 deletions

View file

@ -17,6 +17,16 @@
ref="pan"
:style="{ top: `${isMove ? y : calcY()}px` }"
>
<v-btn
fab
x-small
elevation="0"
color="black"
@click.stop="onBackgroundClick"
class="bottom-sheet-close"
>
<v-icon color="white" >cancel</v-icon>
</v-btn>
<div class="bottom-sheet-handle"><div class="bottom-sheet-handle-decoration" /></div>
<div ref="sheetContent" class="sheetContent">
<slot></slot>
@ -203,6 +213,13 @@ export default {
background-color: white;
overflow: hidden;
.bottom-sheet-close {
position: absolute;
right: 0;
top: 0;
z-index: 1;
}
@media #{map-get($display-breakpoints, 'lg-and-up')} {
margin: 0 auto;
width: $dialog-desktop-width;

View file

@ -1,6 +1,7 @@
<template>
<BottomSheet
class="room-info-bottom-sheet"
:halfY="0.12"
ref="sheet"
>
<div class="room-info-sheet" ref="roomInfoSheetContent">