diff --git a/src/components/date-text/index.tsx b/src/components/date-text/index.tsx index 2c2d0ebc..5f0f798d 100644 --- a/src/components/date-text/index.tsx +++ b/src/components/date-text/index.tsx @@ -14,12 +14,9 @@ const DateText = ({ createdAt, updatedAt }: DateTextProps) => { const CreatedAtText = () => { return ( - - {`${intl.formatMessage({ - id: 'date_text.created', - })} `} - - {intl.formatDate(createdAt)} + {`${intl.formatMessage({ + id: 'date_text.created', + })} ${intl.formatDate(createdAt)}`} ) } @@ -27,12 +24,9 @@ const DateText = ({ createdAt, updatedAt }: DateTextProps) => { const UpdatedAtText = () => { return ( - - {`${intl.formatMessage({ - id: 'date_text.updated', - })} `} - - {intl.formatDate(updatedAt)} + {`${intl.formatMessage({ + id: 'date_text.updated', + })} ${intl.formatDate(updatedAt)}`} ) } diff --git a/src/components/date-text/styles.ts b/src/components/date-text/styles.ts index f7c16883..1035cecc 100644 --- a/src/components/date-text/styles.ts +++ b/src/components/date-text/styles.ts @@ -3,10 +3,6 @@ import { SxStyleProp } from '@vtex/brand-ui' const dateContainer: SxStyleProp = { color: '#A1AAB7', fontSize: ['12px', '16px'], - em: { - fontStyle: 'normal', - fontWeight: '600', - }, columnGap: '8px', flexWrap: 'wrap', textWrap: 'nowrap',