-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
feat(snack-bar): allow setting the layout direction #4726
feat(snack-bar): allow setting the layout direction #4726
Conversation
* Allows the consumer to set the layout direction of a snack bar. * Fixes some bad indentation in the snack bar tests. Fixes angular#4721.
@@ -28,4 +28,9 @@ $mat-snack-bar-button-margin: 48px !default; | |||
size: inherit; | |||
weight: 600; | |||
} | |||
|
|||
/deep/ [dir='rtl'] & { |
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.
I would like to avoid having /deep/
anywhere in the library.
(and prefer turning off ViewEncapsulation)
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.
Done. Also fixed the button not being uppercase for some reason.
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.
Why is the text-transform: uppercase
suddenly back? I removed it in #4567
I re-added it, because it seemed off based on the spec and I remembered it being there at some point. I'll remove it when I get back home. |
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
Adds a custom Stylelint rule to prevent usages of `/deep/` inside selectors. Relates angular#4726.
* build: add stylelint rule to prevent usage of /deep/ Adds a custom Stylelint rule to prevent usages of `/deep/` inside selectors. Relates #4726. * fix: address feedback
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. |
Fixes #4721.