Skip to content

Commit

Permalink
Equal heights
Browse files Browse the repository at this point in the history
  • Loading branch information
pookmish committed May 22, 2024
1 parent b70f9ca commit 721c5c1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/elements/slideshow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ const Slideshow = ({children, slideshowProps, ...props}: SlideshowProps) => {
const settings: Settings = {
autoplay: false,
centerMode: false,
className: "[&_.slick-track]:flex [&_.slick-slider]:relative",
className: "[&_.slick-track]:flex [&_.slick-slider]:relative [&_.slick-slide>div]:h-full [&_.slick-slide>div>div]:h-full",
dots: false,
infinite: false,
initialSlide: 0,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const SupCarouselParagraph = ({paragraph, isTopBanner, ...props}: Props) => {
>
{paragraph.supCarouselSlides.map(slide =>
<div key={slide.id}>
<Slide key={slide.id} slideParagraph={slide}/>
<Slide key={slide.id} slideParagraph={slide} isTopHero={isTopHero}/>
</div>
)}
</Slideshow>
Expand All @@ -65,7 +65,7 @@ const Slide = ({slideParagraph, isTopHero}: { slideParagraph: ParagraphSupCarous
return (
<article
aria-labelledby={slideParagraph.id}
className={twMerge("relative centered-container text-white w-full h-full min-h-full lg:min-h-screen", clsx({
className={twMerge("relative centered-container text-white w-full h-full min-h-full", clsx({
"text-center": !leftImage,
"text-center lg:text-left": leftImage,
"lg:pt-[300px] lg:mb-[-300px]": isTopHero
Expand Down

0 comments on commit 721c5c1

Please sign in to comment.