-
Notifications
You must be signed in to change notification settings - Fork 6.8k
refactor(material/list): fix action list CSS styles conflict with MDC-based list #20477
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(material/list): fix action list CSS styles conflict with MDC-based list #20477
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
…-based list The Angular Material action list has been styled using an element selector, instead of using the corresponding CSS class. This meant that the MDC-based list seemed to have a working action list, but in reality it was just working due to the leaked styles from the non-MDC list. This fixes the selector in the Angular Material list, and adds the necessary styles for the action list to the MDC list styles.
7297fde
to
6fd5034
Compare
Closing in favor of #24186 which is more recent and likely to be merged 😄 |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
The Angular Material action list has been styled using an element selector,
instead of using the corresponding CSS class. This meant that the MDC-based
list seemed to have a working action list, but in reality it was just working due
to the leaked styles from the non-MDC list.
This fixes the selector in the Angular Material list, and adds the necessary styles
for the action list to the MDC list styles.
Note: I used the
refactor
type as I wasn't sure whether we want this to show up for the non-MDC list in the changelog.