Use improved bottom sheet for room info as well

This one allows all of the content to be scrollable/viewed even if the sheet is only half open.
This commit is contained in:
N-Pex 2021-04-15 17:14:22 +02:00
parent b21b0b04a5
commit 9aa49094bc
2 changed files with 10 additions and 45 deletions

View file

@ -18,7 +18,7 @@
:style="{ top: `${isMove ? y : calcY()}px` }"
>
<div class="bottom-sheet-handle"><div class="bottom-sheet-handle-decoration" /></div>
<div style="position:absolute;top:20px;left:0;right:0;bottom:0;overflow-y:auto">
<div style="position:absolute;top:20px;left:0;right:0;bottom:0;overflow-y:auto;padding:20px">
<slot></slot>
</div>
</div>
@ -140,6 +140,7 @@ export default {
bottom: 0;
overflow-x: hidden;
overflow-y: hidden;
z-index: 10;
}
.bottom-sheet-bg {