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

Fix padding problem in EditListingWizard #34

Merged
merged 2 commits into from
Jun 8, 2021

Conversation

OtterleyW
Copy link
Contributor

This PR fixes the problem with paddings on EditListingWizard. For some reason, the padding for specific media query in .panel class of EditListingWizard.module.css was overwritten by the css of each panel. To avoid this issue, I moved handling the padding to one place which is now EditListingWizard.module.css. I couldn't see any reason why these paddings should be handled in each panel separately.

It seems that the issue started to happen after the EditListingWizard related components like panels was moved under EditListingPage from the shared components folder. I think this changed the order in which the CSS is loaded and that caused the padding on individual panels to overwrite the generic padding rules.

Before:
Screenshot 2021-06-08 at 13 29 16

After:
Screenshot 2021-06-08 at 13 29 29

@OtterleyW OtterleyW merged commit 0a4708d into main Jun 8, 2021
@OtterleyW OtterleyW deleted the fix-edit-listing-wizard-width branch June 8, 2021 10:48
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.

2 participants