Skip to content

Commit

Permalink
fix(storefront): BCTHEME-904 Quick View Modal "Close" bubble is sligh…
Browse files Browse the repository at this point in the history
…tly off center
  • Loading branch information
jordanarldt committed Oct 9, 2021
1 parent 74b4671 commit add10ab
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## Draft
- Fixed Quick View modal "X" button focus bubble being slightly off center [#2130](https://github.com/bigcommerce/cornerstone/pull/2130)

## 6.1.0 (09-03-2021)
- Fixed images placeholder on hero carousel shifted on mobile when slide has content. [#2112](https://github.com/bigcommerce/cornerstone/pull/2112)
Expand Down
8 changes: 8 additions & 0 deletions assets/scss/components/foundation/modal/_modal.scss
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,14 @@
&:hover {
color: stencilColor("icon-color-hover");
}

&::before {
right: calc(50% - 0.7rem);
}

&::after {
right: calc(50% - 0.7rem);
}
}

.modal-body {
Expand Down

0 comments on commit add10ab

Please sign in to comment.