Skip to content

Commit

Permalink
feat(card-stack): change card inclination
Browse files Browse the repository at this point in the history
  • Loading branch information
guilhermebkel committed Apr 2, 2024
1 parent d368944 commit f1c539c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/unoenty/src/pages/Table/CardStack/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ const CardStack: React.FC<CardStackProps> = (props) => {
alt={card.name}
src={card.src}
style={{
transform: `rotate(${MAX_CARDS_VISIBLE_ON_CARD_STACK - (index * 4)}deg)`,
transform: `rotate(${index * (-4)}deg)`,
zIndex: MAX_CARDS_VISIBLE_ON_CARD_STACK - index,
filter: (index === 0) ? "saturate(1.5)" : "contrast(0.5)",
}}
Expand Down

0 comments on commit f1c539c

Please sign in to comment.