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: remove style duplication in my account route components #1310

Conversation

bartoszherba
Copy link
Collaborator

@bartoszherba bartoszherba commented Jul 26, 2022

Description

remove style duplication in my account route components

Motivation and Context

Refactoring

How Has This Been Tested?

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

sethidden
sethidden previously approved these changes Jul 26, 2022
--tabs-conent-border-width: 0;
}
}

.message {
Copy link
Contributor

Choose a reason for hiding this comment

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

You're importing shared.scss which contains the .message class, but on this line there's also a .message class. Doesn't this mess with the styles? Even if not, I think it'd be worth it to rename resolve this naming conflict

Copy link
Contributor

Choose a reason for hiding this comment

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

The .message class from shared.scss and from here is also somewhat similar (only difference is margin, no?), would it be possible to streamline into one .message class?

@bartoszherba bartoszherba force-pushed the M2-577-remove-style-duplication-in-my-account-route-components branch from 8d92f25 to 82cf938 Compare July 27, 2022 06:01
@bartoszherba bartoszherba requested a review from sethidden July 27, 2022 06:01
@bartoszherba bartoszherba merged commit ec4670b into develop Jul 29, 2022
@bartoszherba bartoszherba deleted the M2-577-remove-style-duplication-in-my-account-route-components branch July 29, 2022 12:35
@Frodigo Frodigo added this to the 1.0.2 milestone Aug 1, 2022
@Frodigo Frodigo mentioned this pull request Aug 1, 2022
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