Skip to content

Commit f4b9406

Browse files
authored
Merge pull request #1131 from mjschock/STRF-4031
STRF-4031 - Fixes mobile swatch selectability styling.
2 parents 4b23140 + b49390d commit f4b9406

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
- Fixes functionality of carousel links in IE and Edge. [#1093](https://github.com/bigcommerce/cornerstone/pull/1093)
55
- Add image width & height for carousel images. [#1126](https://github.com/bigcommerce/cornerstone/pull/1126)
66
- Fix Bold featured products clickability. [#1130](https://github.com/bigcommerce/cornerstone/pull/1130)
7+
- Fixes mobile swatch selectability styling. [#1131](https://github.com/bigcommerce/cornerstone/pull/1131)
78

89
## 1.10.0 (2017-11-15)
910
- Fix spaces in faceted search option names [#1113](https://github.com/bigcommerce/cornerstone/pull/1113)

assets/scss/components/citadel/forms/_forms.scss

+5-1
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,7 @@
260260
// 1. Issue with FastClick JS library workaround: https://github.com/ftlabs/fastclick/issues/351
261261
// 2. Resetting font due to inline-block whitespace issue.
262262
// 3. Added for STENCIL-3384. Did not change directly on .form-option-variant to avoid 1.
263+
// 4. Added for STRF-4031. Breaks 3 for small screens.
263264
//
264265

265266
.form-option {
@@ -297,7 +298,10 @@
297298
@include square(22);
298299
min-width: initial;
299300
padding: 0;
300-
pointer-events: inherit; // 3
301+
302+
@include breakpoint('small') { // 4
303+
pointer-events: inherit; // 3
304+
}
301305
}
302306

303307
.form-option-variant--pattern {

0 commit comments

Comments
 (0)