Skip to content

fix(material-experimental/mdc-snack-bar): increase the specificity of styles targeting the action buttons - #22959

Merged
mmalerba merged 2 commits into
angular:masterfrom
mmalerba:snackbar-specificity
Jun 18, 2021
Merged

fix(material-experimental/mdc-snack-bar): increase the specificity of styles targeting the action buttons#22959
mmalerba merged 2 commits into
angular:masterfrom
mmalerba:snackbar-specificity

Conversation

@mmalerba

Copy link
Copy Markdown
Contributor

Currently the order of the button theme vs the snackbar theme matters,
this will make the snackbar theme always take precedence

styles targeting the action buttons.

Currently the order of the button theme vs the snackbar theme matters,
this will make the snackbar theme always take precedence
@mmalerba mmalerba added P2 The issue is important to a large percentage of users, with a workaround G This is is related to a Google internal issue target: patch This PR is targeted for the next patch release labels Jun 11, 2021
@mmalerba
mmalerba requested a review from andrewseguin as a code owner June 11, 2021 13:52
@google-cla google-cla Bot added the cla: yes PR author has agreed to Google's Contributor License Agreement label Jun 11, 2021
Comment thread src/material-experimental/mdc-snack-bar/_snack-bar-theme.scss
@andrewseguin

Copy link
Copy Markdown
Contributor

lol four classes - I feel for the dev who tries to override that style in their app

@andrewseguin andrewseguin added the action: merge The PR is ready for merge by the caretaker label Jun 11, 2021

@crisbeto crisbeto left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@mmalerba
mmalerba force-pushed the snackbar-specificity branch from bf2cd37 to efe8666 Compare June 11, 2021 15:52
@mmalerba
mmalerba merged commit 2c57c58 into angular:master Jun 18, 2021
mmalerba added a commit that referenced this pull request Jun 18, 2021
… styles targeting the action buttons (#22959)

* fix(material-experimental/mdc-snack-bar): increase the specificity of
styles targeting the action buttons.

Currently the order of the button theme vs the snackbar theme matters,
this will make the snackbar theme always take precedence

* fix(material-experimental/mdc-snack-bar): increase the specificity of styles targeting the action buttons.

(cherry picked from commit 2c57c58)
mmalerba added a commit that referenced this pull request Jun 18, 2021
… styles targeting the action buttons (#22959)

* fix(material-experimental/mdc-snack-bar): increase the specificity of
styles targeting the action buttons.

Currently the order of the button theme vs the snackbar theme matters,
this will make the snackbar theme always take precedence

* fix(material-experimental/mdc-snack-bar): increase the specificity of styles targeting the action buttons.

(cherry picked from commit 2c57c58)
@angular-automatic-lock-bot

Copy link
Copy Markdown

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 Jul 19, 2021
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 G This is is related to a Google internal issue P2 The issue is important to a large percentage of users, with a workaround target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants