Skip to content

Commit 117f359

Browse files
authored
Merge pull request #1174 from ARYANSHAH1567/aryanshah/add_border
Add border for custom Catalog cards
2 parents f9db86d + 46e47a0 commit 117f359

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/custom/CustomCatalog/style.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -101,19 +101,19 @@ export const DesignCard = styled('div')<DesignCardProps>(
101101
})
102102
);
103103

104+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
104105
export const DesignInnerCard = styled('div')<DesignCardDivProps>(({ shouldFlip, isDetailed }) => ({
105106
position: 'relative',
106107
width: '100%',
107108
height: '100%',
108109
textAlign: 'center',
109110
transition: 'transform 0.6s',
111+
boxShadow: '0 4px 8px 0 rgba(0, 0, 0, 0.2)',
112+
border: '1px solid rgba(0, 0, 0, 0.12)',
113+
borderRadius: '0.9375rem',
110114
...(shouldFlip && {
111115
transformOrigin: '50% 50%',
112116
transformStyle: 'preserve-3d'
113-
}),
114-
...(isDetailed && {
115-
boxShadow: '0 4px 8px 0 rgba(0,0,0,0.2)',
116-
borderRadius: '0.9375rem'
117117
})
118118
}));
119119

0 commit comments

Comments
 (0)