Skip to content

Commit

Permalink
fix case-study images
Browse files Browse the repository at this point in the history
  • Loading branch information
kielbasa-elp committed Nov 29, 2024
1 parent 5b10788 commit cf85710
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -201,8 +201,9 @@ export function ImplementationCarouselItemLogo({
return (
<img
src={src}
height={24}
className={cn(
"opacity-20 grayscale group-hover:opacity-100 group-hover:grayscale-0 transition h-6 w-fit",
"opacity-20 grayscale group-hover:opacity-100 group-hover:grayscale-0 transition h-6 max-w-fit object-contain object-left",
className
)}
{...rest}
Expand All @@ -220,7 +221,7 @@ export function ImplementationCarouselItem({
return (
<article
className={cn(
"min-h-[200px] md:min-h-[210px] 2xl:min-h-[235px] border bg-white rounded-xl p-4 lg:p-6 flex flex-col gap-2 justify-between group",
"min-h-[200px] md:min-h-[210px] 2xl:min-h-[235px] border bg-white rounded-xl p-4 lg:p-6 flex flex-col gap-2 justify-between group ",
className
)}
{...rest}
Expand Down Expand Up @@ -256,7 +257,7 @@ export function ImplementationCarouselItemContent({
return (
<p
className={cn(
"text-sm md:text-base text-neutral-500 font-light",
"text-sm md:text-base text-neutral-500 font-light line-clamp-3",
className
)}
{...rest}
Expand Down
7 changes: 0 additions & 7 deletions app/views/Home/Hero.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,6 @@ import {
CarouselContent,
CarouselItem,
} from "~/components/shared/Carousel";
import {
ImplementationCarouselContentWrapper,
ImplementationCarouselItem,
ImplementationCarouselItemContent,
ImplementationCarouselItemHeading,
ImplementationCarouselItemLogo,
} from "~/components/sections/implementations/Implementations.components";
import Fade from "embla-carousel-fade";
import Autoplay from "embla-carousel-autoplay";

Expand Down

0 comments on commit cf85710

Please sign in to comment.