Skip to content

Commit

Permalink
Remove extra whitespace on Quick Add modals (Shopify#1706)
Browse files Browse the repository at this point in the history
* Always centered

* Non centered

* Revert height

* Set height to initial height

* Revert fixed height

* Remove extra
  • Loading branch information
LucasLacerdaUX authored May 19, 2022
1 parent e5a5631 commit 0c20fd6
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions assets/quick-add.css
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
.quick-add-modal__content {
margin-top: 10rem;
width: 80%;
height: calc(100% - 20rem);
max-height: calc(100% - 20rem);
overflow-y: auto;
}

Expand Down Expand Up @@ -137,6 +137,10 @@ quick-add-modal .slider.slider--mobile {
overflow: visible;
}

quick-add-modal .product__media-list {
margin-bottom: 0;
}

quick-add-modal .product__media-list .deferred-media {
display: block;
width: 100%;
Expand Down Expand Up @@ -186,10 +190,6 @@ quick-add-modal .product__title > a:hover {
text-decoration-thickness: 0.3rem;
}

quick-add-modal .product__view-details {
padding-bottom: 2.5rem;
}

quick-add-modal .product-form__buttons {
max-width: initial;
}
Expand Down

0 comments on commit 0c20fd6

Please sign in to comment.