diff --git a/CHANGELOG.md b/CHANGELOG.md index 8d746fe239..587e13005d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,10 @@ Versioning](https://semver.org/spec/v2.0.0.html). ## [Unrealeased] +### Fixed + +- Layout issue on enrollable course run of CourseProductItem + ## [2.21.0] - 2023-03-21 ### Added diff --git a/src/frontend/js/widgets/CourseProductItem/components/CourseProductCourseRuns/_styles.scss b/src/frontend/js/widgets/CourseProductItem/components/CourseProductCourseRuns/_styles.scss index 39498e3ad0..adcae2f602 100644 --- a/src/frontend/js/widgets/CourseProductItem/components/CourseProductCourseRuns/_styles.scss +++ b/src/frontend/js/widgets/CourseProductItem/components/CourseProductCourseRuns/_styles.scss @@ -60,8 +60,6 @@ } &.form-field { - padding-left: 1.5rem; - .form-field__radio-control { position: absolute; left: 0; @@ -70,9 +68,10 @@ .form-field__label { display: flex; + flex: 1; flex-direction: column; justify-content: space-between; - flex: 1; + padding-left: 1.5rem; } }