Skip to content

Commit

Permalink
testing layout of carousel on slr theme page
Browse files Browse the repository at this point in the history
  • Loading branch information
freitagb authored Nov 13, 2024
1 parent eed5b07 commit 740171d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions stories/components/slr_carousel/carousel-item.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export function ItemPanel({ item, linkComponent: LinkComponent }) {

export default function CarouselItem({ item, itemIdx, onTitleClick, shouldProgress, progressDone, progressPercentage, selected, linkComponent: LinkComponent }) {
return <Card
gridLayout={{ tablet: { col: 4 } }}
gridLayout={{ tablet: { col: 6 } }}
containerProps={{className:`hover:bg-base-lightest padding-x-1 radius-0 border-0 animation--transition ${(selected || shouldProgress)? 'opacity-100':'opacity-50'}`}}>
<ProgressBar shouldProgress={shouldProgress} progressDone={progressDone} progressPercentage={progressPercentage}selected={selected} />
<CardBody className="padding-left-0 position-relative">
Expand All @@ -72,4 +72,4 @@ export default function CarouselItem({ item, itemIdx, onTitleClick, shouldProgre
</LinkComponent>
</CardFooter>
</Card>
}
}

0 comments on commit 740171d

Please sign in to comment.