Skip to content

Commit d676436

Browse files
committed
Add border for custom Catalog cards
Signed-off-by: Aryan Shah <[email protected]>
1 parent 2195979 commit d676436

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/custom/CustomCatalog/style.tsx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -107,13 +107,12 @@ export const DesignInnerCard = styled('div')<DesignCardDivProps>(({ shouldFlip,
107107
height: '100%',
108108
textAlign: 'center',
109109
transition: 'transform 0.6s',
110+
boxShadow: '0 4px 8px 0 rgba(0, 0, 0, 0.2)',
111+
border: '1px solid rgba(0, 0, 0, 0.12)',
112+
borderRadius: '0.9375rem',
110113
...(shouldFlip && {
111114
transformOrigin: '50% 50%',
112115
transformStyle: 'preserve-3d'
113-
}),
114-
...(isDetailed && {
115-
boxShadow: '0 4px 8px 0 rgba(0,0,0,0.2)',
116-
borderRadius: '0.9375rem'
117116
})
118117
}));
119118

0 commit comments

Comments
 (0)