diff --git a/src/components/card/index.tsx b/src/components/card/index.tsx index c13b50b7..cf621277 100644 --- a/src/components/card/index.tsx +++ b/src/components/card/index.tsx @@ -1,4 +1,5 @@ import React, { CSSProperties } from 'react'; +import { TextParentStyles } from 'src/index'; interface ICardProps { imgSrc?: string; @@ -70,15 +71,19 @@ export const Card = (props: ICardProps) => { border: 'none', borderRadius: 0, cursor: 'pointer', - marginTop: '40px', - marginBottom: '10px', - marginRight: '50px', padding: '5px' }; - const defaultTextParentStyles = { + + const defaultTextParentStyles: TextParentStyles = { + overflowWrap: 'break-word', margin: '10px' }; + const cardButtons = { + marginTop: '20px', + marginLeft: '5px' + }; + return (