Skip to content

Commit

Permalink
Add top border on cart notification when "show separator line" settin…
Browse files Browse the repository at this point in the history
…g is deactivated (Shopify#306)

* Add border on cart notification when header border setting is not active

* adjust presentation of the selector
  • Loading branch information
tauthomas01 authored Aug 4, 2021
1 parent e7c0e0e commit e3ea034
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions assets/component-cart-notification.css
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@
}

@media screen and (min-width: 750px) {
.header-wrapper:not(.header-wrapper--border-bottom) + cart-notification .cart-notification {
border-top-width: 0.1rem;
}

.cart-notification {
border-width: 0 0.1rem 0.1rem;
max-width: 36.8rem;
Expand Down

0 comments on commit e3ea034

Please sign in to comment.