This commit is contained in:
Salam-vsem
2025-05-21 00:43:08 +03:00
parent 9913c09755
commit 24bb5b4187
4 changed files with 4 additions and 9 deletions

View File

@@ -14,7 +14,7 @@ const { title, description, className, id } = Astro.props
<section <section
id={id} id={id}
class={cn( class={cn(
'overflow-hidden w-full flex flex-col gap-5 py-16 px-5 md:px-10 lg:p-24 md:gap-12 h-full justify-center', 'overflow-hidden w-full flex flex-col gap-5 py-16 px-5 md:px-10 lg:p-24 md:gap-12 min-h-full justify-center',
className className
)} )}
> >

View File

@@ -1,15 +1,10 @@
.simple-swiper { .simple-swiper {
width: 100%; width: 100%;
/* height: 100%; */
overflow: visible; overflow: visible;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
} }
.swiper-wrapper {
height: auto;
}
.swiper-pagination-fraction { .swiper-pagination-fraction {
@apply text-xl w-auto; @apply text-xl w-auto;
} }

View File

@@ -42,7 +42,7 @@ const [thumbs, optimizedGallery] = galleryWithCover
client:only="react" client:only="react"
images={optimizedGallery} images={optimizedGallery}
thumbs={thumbs} thumbs={thumbs}
imageClassName="aspect-3/4 max-w-[35vh] lg:w-auto object-top mx-auto lg:max-h-[70vh]" imageClassName="aspect-3/4 h-full max-w-[35vh] lg:w-auto object-top mx-auto lg:max-w-[50vh]"
/> />
<div class="flex flex-1 flex-col gap-8"> <div class="flex flex-1 flex-col gap-8">
<h1 class="font-bold lg:text-nowrap">{data.name}</h1> <h1 class="font-bold lg:text-nowrap">{data.name}</h1>

View File

@@ -89,7 +89,7 @@ const t = useTranslations(lang)
{ {
services && ( services && (
<Section id="services" title={t('services.title')} className="h-auto"> <Section id="services" title={t('services.title')} className="min-h-none">
<Services client:visible services={services} /> <Services client:visible services={services} />
</Section> </Section>
) )
@@ -97,7 +97,7 @@ const t = useTranslations(lang)
{ {
optimizedReviews && ( optimizedReviews && (
<Section id="reviews" title={t('reviews.title')} className="h-auto"> <Section id="reviews" title={t('reviews.title')} className="min-h-none">
<Reviews client:only="react" reviews={optimizedReviews} lang={lang} /> <Reviews client:only="react" reviews={optimizedReviews} lang={lang} />
</Section> </Section>
) )