From 9aa49094bc6699bf244fc952440d475ab8db47f0 Mon Sep 17 00:00:00 2001 From: N-Pex Date: Thu, 15 Apr 2021 17:14:22 +0200 Subject: [PATCH] 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. --- src/components/BottomSheet.vue | 3 +- src/components/RoomInfoBottomSheet.vue | 52 ++++---------------------- 2 files changed, 10 insertions(+), 45 deletions(-) diff --git a/src/components/BottomSheet.vue b/src/components/BottomSheet.vue index c1be4f3..b0270ee 100644 --- a/src/components/BottomSheet.vue +++ b/src/components/BottomSheet.vue @@ -18,7 +18,7 @@ :style="{ top: `${isMove ? y : calcY()}px` }" >
-
+
@@ -140,6 +140,7 @@ export default { bottom: 0; overflow-x: hidden; overflow-y: hidden; + z-index: 10; } .bottom-sheet-bg { diff --git a/src/components/RoomInfoBottomSheet.vue b/src/components/RoomInfoBottomSheet.vue index 7bc0187..95b7619 100644 --- a/src/components/RoomInfoBottomSheet.vue +++ b/src/components/RoomInfoBottomSheet.vue @@ -1,10 +1,7 @@