Browse Source

reduce preview card radius

Abhinav 3 years ago
parent
commit
3c029b234b
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/components/pages/gallery/PreviewCard.tsx

+ 2 - 2
src/components/pages/gallery/PreviewCard.tsx

@@ -143,7 +143,7 @@ export const SelectedOverlay = styled.div<{ selected: boolean }>`
     height: 100%;
     height: 100%;
     width: 100%;
     width: 100%;
     ${(props) => props.selected && 'border: 5px solid #51cd7c;'}
     ${(props) => props.selected && 'border: 5px solid #51cd7c;'}
-    border-radius: ${({ theme }) => theme.shape.borderRadius}px;
+    border-radius: 4px;
 `;
 `;
 
 
 const Cont = styled.div<{ disabled: boolean }>`
 const Cont = styled.div<{ disabled: boolean }>`
@@ -183,7 +183,7 @@ const Cont = styled.div<{ disabled: boolean }>`
     &:hover ${HoverOverlay} {
     &:hover ${HoverOverlay} {
         opacity: 1;
         opacity: 1;
     }
     }
-    border-radius: ${({ theme }) => theme.shape.borderRadius}px;
+    border-radius: 4px;
 `;
 `;
 
 
 export default function PreviewCard(props: IProps) {
 export default function PreviewCard(props: IProps) {