-
Notifications
You must be signed in to change notification settings - Fork 25
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 list-item-expand-collapse button positioning #3795
Conversation
Thanks for the PR! 🎉 We've deployed an automatic preview for this PR - you can see your changes here:
|
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.
Once you see it, you can't look away.
width: 0; | ||
} | ||
:host([dir="rtl"][_render-expand-collapse-slot]) .d2l-list-expand-collapse { | ||
padding: 0.4rem 0 0 0.3rem; | ||
padding: 0.55rem 0 0 0.3rem; |
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.
Really excited to start converting this stuff to logical properties...
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 almost did it but decided not to scope creep.
Visual diff tests failed - pull request #3797 has been opened with the updated goldens. |
Co-authored-by: github-actions <[email protected]>
🎉 This PR is included in version 2.132.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
0.55rem
matches various margins inlist-item-mixin
like the checkbox, which is exactly the same size, and will now line up vertically with the expand-collapse button.Before and after: