Skip to content

Commit

Permalink
Merge pull request #1450 from mattcoy-arcticleaf/patch/add-to-cart-modal
Browse files Browse the repository at this point in the history
Resolve add to cart modal mobile isssue
  • Loading branch information
junedkazi authored Feb 20, 2019
2 parents 3d1780f + 84a107a commit c8001cc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Changelog

## Draft
- Resolve add to cart modal mobile isssue. [#1450](https://github.com/bigcommerce/cornerstone/pull/1450)

## 3.2.1 (2019-02-15)
- Added package-lock.json. [#1441](https://github.com/bigcommerce/cornerstone/pull/1441)
Expand Down
5 changes: 4 additions & 1 deletion assets/scss/components/foundation/modal/_modal.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,16 @@


.modal {
margin: 0 auto;
margin: 0;
max-height: 90%;
max-width: 95%;
min-height: 240px;
outline: none;
overflow: hidden;
padding: 0;
left: 50%;
top: 50% !important;
transform: translate(-50%, -50%);
}

.modal--large {
Expand Down

0 comments on commit c8001cc

Please sign in to comment.