-
Notifications
You must be signed in to change notification settings - Fork 4k
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
ColorPalette: Fix background image in RTL mode #42510
Conversation
Size Change: -8 B (0%) Total Size: 1.26 MB
ℹ️ View Unchanged
|
@@ -7,10 +7,12 @@ | |||
padding: $grid-unit-15; | |||
font-family: inherit; | |||
width: 100%; | |||
/*rtl:begin:ignore*/ |
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.
Thanks for fixing this.
It'd be great to add a comment to say why this is ignored. It would help incidental readers of this code understand what the gradient does.
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.
Thanks for the review 👍 Comment added.
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.
Great to see this fixed!
What?
Fix background image in the
ColorPalette
component when no color is picked in RTL mode.Why?
Better RTL experience
How?
Don't change the
background-position
value in the RTL css file.Testing Instructions
ColorPalette
Screenshots or screencast