Skip to content
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

Merged
merged 2 commits into from
Jun 29, 2023

Conversation

bearfriend
Copy link
Contributor

0.55rem matches various margins in list-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:
Screenshot 2023-06-29 at 1 54 39 PMScreenshot 2023-06-29 at 1 53 36 PM

@bearfriend bearfriend requested a review from a team as a code owner June 29, 2023 18:40
@github-actions
Copy link
Contributor

Thanks for the PR! 🎉

We've deployed an automatic preview for this PR - you can see your changes here:

URL https://pr-3795-brightspace-ui-core.d2l.dev/

Note
The build needs to finish before your changes are deployed.
Changes to the PR will automatically update the instance.

Copy link
Member

@dlockhart dlockhart left a 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;
Copy link
Member

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...

Copy link
Contributor Author

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.

@github-actions
Copy link
Contributor

Visual diff tests failed - pull request #3797 has been opened with the updated goldens.

@bearfriend bearfriend merged commit 994cecc into main Jun 29, 2023
@bearfriend bearfriend deleted the dgleckler/list-expand-collapse-position branch June 29, 2023 20:00
@ghost
Copy link

ghost commented Jun 30, 2023

🎉 This PR is included in version 2.132.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@ghost ghost added the released label Jun 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants