Skip to content

Commit

Permalink
Fix saint's name pushed under the image on index page
Browse files Browse the repository at this point in the history
  • Loading branch information
BenoitEirik committed Sep 16, 2024
1 parent 69252f7 commit 8da225c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
4 changes: 2 additions & 2 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ android {
applicationId "com.benoiteirik.theochrone"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 3
versionName "2.1"
versionCode 4
versionName "2.2"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
aaptOptions {
// Files and dirs to omit from the packaged assets dir, modified to accommodate modern web apps.
Expand Down
10 changes: 6 additions & 4 deletions pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,8 @@ const scrollSearchPosition = ref(0)
<section class="flex flex-col items-stretch h-full max-h-full overflow-hidden">
<VDatePicker v-model="date" is-required expanded borderless class="shrink-0" :attributes="calAttrs" />

<Swiper id="index-swiper" @swiper="(_swiper: any) => swiper = _swiper"
<div class="overflow-y-auto grow">
<Swiper id="index-swiper" @swiper="(_swiper: any) => swiper = _swiper"
@slideChange="(s: any) => index = s.snapIndex"
:modules="[SwiperZoom, SwiperEffectCoverflow, SwiperPagination]" slides-per-view="auto" effect="coverflow"
:pagination="true" :coverflowEffect="{
Expand All @@ -140,7 +141,7 @@ const scrollSearchPosition = ref(0)
depth: 200,
modifier: 1,
slideShadows: false,
}" :grab-cursor="true" :centered-slides="true" class="w-full grow"
}" :grab-cursor="true" :centered-slides="true" class="w-full h-full"
bulletActiveClass="index-page-swiper-pagination-bullet-active">
<SwiperSlide v-if="fests.length > 0 && !festStore.isLoading" v-for="fest in fests" :key="fest.id"
class="p-2 pb-10 !flex items-center w-[70%] max-w-[70%] h-full max-h-full">
Expand All @@ -155,7 +156,8 @@ const scrollSearchPosition = ref(0)
<x-skeleton class="w-full h-full max-w-full max-h-full" />
</div>
</SwiperSlide>
</Swiper>
</Swiper>
</div>

<div class="p-4 shrink-0">
<button type="button" v-wave
Expand Down Expand Up @@ -199,7 +201,7 @@ const scrollSearchPosition = ref(0)
@change="() => !!searchKeywords ? getSearchFests() : null" class="flex-1"
:disabled="searchInMartyrologe" />
</div>
<x-checkbox v-model="searchInMartyrologe" @change="(v) => { v ? searchProper = 'roman' : null; getSearchFests() }"
<x-checkbox v-model="searchInMartyrologe" @change="(v: boolean) => { v ? searchProper = 'roman' : null; getSearchFests() }"
label="Dans le Martyrologe Romain" color="primary" />
</header>

Expand Down

0 comments on commit 8da225c

Please sign in to comment.