diff --git a/src/course-home/dates-tab/Badge.jsx b/src/course-home/dates-tab/Badge.jsx index c4f9304b..aa0d191f 100644 --- a/src/course-home/dates-tab/Badge.jsx +++ b/src/course-home/dates-tab/Badge.jsx @@ -2,11 +2,12 @@ import React from 'react'; import PropTypes from 'prop-types'; import classNames from 'classnames'; -export default function Badge({ children, className }) { +export default function Badge({ children, className, ...rest }) { return ( {children} diff --git a/src/course-home/dates-tab/Badge.scss b/src/course-home/dates-tab/Badge.scss index f4368cfe..ec65b4e9 100644 --- a/src/course-home/dates-tab/Badge.scss +++ b/src/course-home/dates-tab/Badge.scss @@ -1,4 +1,4 @@ .dates-badge { border-radius: 4px; - padding: 2px 8px 3px 8px; + padding: 1px 8px; } diff --git a/src/course-home/dates-tab/Day.jsx b/src/course-home/dates-tab/Day.jsx index df987d30..e052d2ff 100644 --- a/src/course-home/dates-tab/Day.jsx +++ b/src/course-home/dates-tab/Day.jsx @@ -2,7 +2,12 @@ import React from 'react'; import PropTypes from 'prop-types'; import classNames from 'classnames'; import { useSelector } from 'react-redux'; -import { FormattedDate, injectIntl, intlShape } from '@edx/frontend-platform/i18n'; +import { + FormattedDate, + FormattedTime, + injectIntl, + intlShape, +} from '@edx/frontend-platform/i18n'; import { Tooltip, OverlayTrigger } from '@edx/paragon'; import { faInfoCircle } from '@fortawesome/free-solid-svg-icons'; import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; @@ -51,7 +56,7 @@ function Day({ {/* Content */}
+