Merge branch '312-fix-room-switch' into 'dev'
Room info bottom sheet improvements Closes #312 See merge request keanuapp/keanuapp-weblite!102
This commit is contained in:
commit
766dce0f09
2 changed files with 18 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
<template>
|
||||
<BottomSheet
|
||||
class="room-info-bottom-sheet"
|
||||
:halfY="0.12"
|
||||
ref="sheet"
|
||||
>
|
||||
<div class="room-info-sheet" ref="roomInfoSheetContent">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue