Skip to content

Commit 0aa271f

Browse files
feat(card-stack): change card inclination
1 parent d2140cf commit 0aa271f

File tree

1 file changed

+1
-1
lines changed
  • packages/unoenty/src/pages/Table/CardStack

1 file changed

+1
-1
lines changed

packages/unoenty/src/pages/Table/CardStack/index.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ const CardStack: React.FC<CardStackProps> = (props) => {
141141
alt={card.name}
142142
src={card.src}
143143
style={{
144-
transform: `rotate(${MAX_CARDS_VISIBLE_ON_CARD_STACK - index}rad)`,
144+
transform: `rotate(-${MAX_CARDS_VISIBLE_ON_CARD_STACK - index}deg)`,
145145
zIndex: MAX_CARDS_VISIBLE_ON_CARD_STACK - index,
146146
filter: (index === 0) ? "saturate(1.5)" : "contrast(0.5)",
147147
}}

0 commit comments

Comments
 (0)