-
Notifications
You must be signed in to change notification settings - Fork 159
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
fix(leadspace): wrong gradient display when in RLT mode #12180
base: main
Are you sure you want to change the base?
fix(leadspace): wrong gradient display when in RLT mode #12180
Conversation
✅ Deploy Preview for ibm-dotcom-web-components-react-wrap ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
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.
The code Changes look great and is passing all tests
Great job!!
The gradient is changing using 'rotate(90)' but the image stays the same. I think the image needs a flip also, right? |
…-dotcom into fix/leadspace-gradient-issue-rtl
✅ Deploy Preview for ibm-dotcom-web-components ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
…background when in RTL mode
…-dotcom into fix/leadspace-gradient-issue-rtl
…morim/carbon-for-ibm-dotcom into fix/leadspace-gradient-issue-rtl
✅ Deploy Preview for incomparable-wisp-8d6771 ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Related Ticket(s)
Closes # ADCMS-7399
Description
In the Leadspace component, when in RTL mode, the text would be displayed from the right to left but the gradient in the image would still be from the left to the right, causing the text to be unreadable in images with low contrast.
I also took the opportunity to fix the leadspace with video background - when in RTL, the video was not spanning the full width of its container.