From 5365f0533c3ac9193e78fb2773bc9e3c2ca6b5d5 Mon Sep 17 00:00:00 2001 From: Florian Sylvain Date: Wed, 27 Mar 2024 22:18:12 +0100 Subject: [PATCH] fix: roomspage responsiveness --- android/.idea/.gitignore | 3 + android/.idea/compiler.xml | 6 ++ android/.idea/deploymentTargetDropDown.xml | 10 +++ android/.idea/migrations.xml | 10 +++ android/.idea/misc.xml | 10 +++ src/views/RoomsPage.vue | 95 +++++++++++++--------- 6 files changed, 94 insertions(+), 40 deletions(-) create mode 100644 android/.idea/.gitignore create mode 100644 android/.idea/compiler.xml create mode 100644 android/.idea/deploymentTargetDropDown.xml create mode 100644 android/.idea/migrations.xml create mode 100644 android/.idea/misc.xml diff --git a/android/.idea/.gitignore b/android/.idea/.gitignore new file mode 100644 index 0000000..26d3352 --- /dev/null +++ b/android/.idea/.gitignore @@ -0,0 +1,3 @@ +# Default ignored files +/shelf/ +/workspace.xml diff --git a/android/.idea/compiler.xml b/android/.idea/compiler.xml new file mode 100644 index 0000000..b589d56 --- /dev/null +++ b/android/.idea/compiler.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/android/.idea/deploymentTargetDropDown.xml b/android/.idea/deploymentTargetDropDown.xml new file mode 100644 index 0000000..0c0c338 --- /dev/null +++ b/android/.idea/deploymentTargetDropDown.xml @@ -0,0 +1,10 @@ + + + + + + + + + + \ No newline at end of file diff --git a/android/.idea/migrations.xml b/android/.idea/migrations.xml new file mode 100644 index 0000000..f8051a6 --- /dev/null +++ b/android/.idea/migrations.xml @@ -0,0 +1,10 @@ + + + + + + \ No newline at end of file diff --git a/android/.idea/misc.xml b/android/.idea/misc.xml new file mode 100644 index 0000000..0ad17cb --- /dev/null +++ b/android/.idea/misc.xml @@ -0,0 +1,10 @@ + + + + + + + + + \ No newline at end of file diff --git a/src/views/RoomsPage.vue b/src/views/RoomsPage.vue index 7229315..3605aff 100644 --- a/src/views/RoomsPage.vue +++ b/src/views/RoomsPage.vue @@ -1,5 +1,5 @@ @@ -66,18 +65,26 @@ onMounted(async () => { background-color: var(--ion-color-light); justify-content: start; + height: 100vh; } -ion-content { +section { display: flex; flex-direction: column; gap: 8px; height: 100%; + min-height: 0; } main { + display: flex; + flex-direction: column; + padding: 0 32px 32px 32px; + + height: 100%; + min-height: 0; } h2 { @@ -105,6 +112,7 @@ img { width: 100%; object-fit: cover; border-radius: 14px; + min-height: 0; } audio { @@ -119,16 +127,23 @@ audio { margin-top: 16px; } -.swiper-pagination-bullet-custom { - width: 20px; - height: 20px; - border-radius: 50%; +.mySwiper { + width: 100%; + height: 100%; + min-height: 0; } + -.swiper-pagination-bullet-active-custom { - width: 20px; - height: 20px; - border-radius: 50%; - background-color: red !important; +