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

refactor: user addresses styling #1173

Conversation

Frodigo
Copy link
Collaborator

@Frodigo Frodigo commented Jun 27, 2022

Before this PR user addresses styles on checkout were fixed only on the shipping step.

I realized that the SCSS code was duplicated for the shipping and billing step so I moved the SCSS code to a separate file.

I changed class names (they are scoped so we don't need to use prefixes like .shipping__addresses or .billing__adresses.) to use simpler classes like .addresses and .address.

Now styles for addresses in shipping and billing steps are correct and the code is not duplicated anymore.

Billing step

Screenshot 2022-06-27 at 15 31 28

Shipping step

Screenshot 2022-06-27 at 15 36 45

Mobile

Screenshot 2022-06-27 at 15 37 20

M2-709

@Frodigo Frodigo added this to the 1.0.0-rc.10 milestone Jun 27, 2022
@Frodigo Frodigo merged commit b8bfba4 into develop Jun 28, 2022
@Frodigo Frodigo deleted the M2-709-shipping-billing-page-design-looks-broken-when-user-has-many-addresses branch June 28, 2022 08:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants