Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatic discount cart position fix #1166

Merged
merged 1 commit into from
Jan 12, 2022
Merged

Automatic discount cart position fix #1166

merged 1 commit into from
Jan 12, 2022

Conversation

ludoboludo
Copy link
Contributor

Why are these changes introduced?

When you set an automatic discount on the cart (not an individual one for items) the mention of that discount isn't aligned properly on mobile.

If you go and add more than $100 into the cart you should see it come up under the subtotal.

What approach did you take?

It had some flex styling to have it always use flex-end so I changed it to be a different value on mobile.

Demo links

Checklist

@ludoboludo ludoboludo added the Category: Bug Something isn't working label Jan 12, 2022
Copy link
Contributor

@martinamarien martinamarien left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.
I tested:

  • Line item discounts
  • Cart level discounts
  • Mobile and desktop
  • Chrome, Safari, Firefox

Copy link
Contributor

@melissaperreault melissaperreault left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! 🚢 🎉

Copy link
Contributor

@LucasLacerdaUX LucasLacerdaUX left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me! :razz-thumbs-up:

@ludoboludo ludoboludo merged commit 551a3e9 into main Jan 12, 2022
@ludoboludo ludoboludo deleted the discount-alignment branch January 12, 2022 18:44
phapsidesGT pushed a commit to Gravytrain-UK/gt-shopify-dawn-theme that referenced this pull request Sep 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Category: Bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants