From 84947465fb07f2dc2aa9fc6e2c0f9e7ea27a1f2d Mon Sep 17 00:00:00 2001 From: Tymur Biedukhin Date: Tue, 19 Jan 2021 14:53:21 +0200 Subject: [PATCH] fix(storefront): BCTHEME-383 Selecting certain option types pushes window view to the bottom of the page --- CHANGELOG.md | 1 + assets/scss/components/citadel/forms/_forms.scss | 7 +++++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 175e5cd1ee..e0f914ccb8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ # Changelog ## Draft +- Fixed selecting certain option types which pushes window view to the bottom of the page. [#1959](https://github.com/bigcommerce/cornerstone/pull/1959) - PDP - Fixed Empty "Description" Hiding All Tabs When in Tab View. [#1947](https://github.com/bigcommerce/cornerstone/pull/1947) - Added custom event for product price change on PDP page. [#1948](https://github.com/bigcommerce/cornerstone/pull/1948) - Fixed announcement of subscription message. [#1952](https://github.com/bigcommerce/cornerstone/pull/1952) diff --git a/assets/scss/components/citadel/forms/_forms.scss b/assets/scss/components/citadel/forms/_forms.scss index b048b5235e..0dd0e178fc 100644 --- a/assets/scss/components/citadel/forms/_forms.scss +++ b/assets/scss/components/citadel/forms/_forms.scss @@ -67,8 +67,6 @@ .form-checkbox, .form-radio { - bottom: 0.5rem; - left: 0.5rem; + .form-label { @@ -91,6 +89,11 @@ .form-option-wrapper { position: relative; display: inline-block; + + & .form-radio, & .form-checkbox { + bottom: 0.5rem; + left: 0.5rem; + } } // Citadel form-actions