Skip to content

Conversation

@crisbeto
Copy link
Member

@crisbeto crisbeto commented Sep 6, 2018

Fixes the :hover styles overriding the focused styling, because they have the same specificity, but are positioned lower in the stylesheet.

Note: the same could be achieved by adding :not(.cdk-focused) to the hover selector, but I opted into this approach, because it doesn't increase the hover specificity further.

Fixes the `:hover` styles overriding the focused styling, because they have the same specificity, but are positioned lower in the stylesheet.
@crisbeto crisbeto added the target: major This PR is targeted for the next major release label Sep 6, 2018
@googlebot googlebot added the cla: yes PR author has agreed to Google's Contributor License Agreement label Sep 6, 2018
Copy link
Member

@jelbourn jelbourn left a comment

Choose a reason for hiding this comment

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

LGTM

Caretaker note: this will affect some screenshot tests, but only ones that happen to capture a button that is both hovered and focused at the same time, so hopefully it will be minimal.

@jelbourn jelbourn added pr: lgtm action: merge The PR is ready for merge by the caretaker merge: caretaker note Alert the caretaker performing the merge to check the PR for an out of normal action needed or note labels Sep 6, 2018
@ngbot
Copy link

ngbot bot commented Sep 11, 2018

Hi @crisbeto! This PR has merge conflicts due to recent upstream merges.
Please help to unblock it by resolving these conflicts. Thanks!

crisbeto added a commit to crisbeto/material2 that referenced this pull request Sep 11, 2018
Aligns the button component with the latest Material design spec.

This includes the changes from angular#12537 and angular#13011.
@crisbeto
Copy link
Member Author

Closing in favor of #13083.

@crisbeto crisbeto closed this Sep 11, 2018
crisbeto added a commit to crisbeto/material2 that referenced this pull request Sep 18, 2018
Aligns the button component with the latest Material design spec.

This includes the changes from angular#12537 and angular#13011.
mmalerba pushed a commit that referenced this pull request Sep 19, 2018
Aligns the button component with the latest Material design spec.

This includes the changes from #12537 and #13011.
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 9, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker cla: yes PR author has agreed to Google's Contributor License Agreement merge: caretaker note Alert the caretaker performing the merge to check the PR for an out of normal action needed or note target: major This PR is targeted for the next major release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants