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

Contained Radio & Checkbox #6

Merged
merged 11 commits into from
Mar 24, 2023
Merged

Contained Radio & Checkbox #6

merged 11 commits into from
Mar 24, 2023

Conversation

annekao
Copy link

@annekao annekao commented Mar 24, 2023

@vercel
Copy link

vercel bot commented Mar 24, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated
shoelace ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Mar 24, 2023 at 4:48PM (UTC)

<slot></slot>
<div class="checkbox__label-description-container">
<slot part="label" class="checkbox__label"></slot>
<div class="checkbox__description-block"></div>
Copy link
Author

@annekao annekao Mar 24, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is to put space between the label and description. it's not ideal, but this section has a line-height (in order for it to lineup with the checkbox/radio) which does not allow for a margin 😭

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, styling checkboxes has always been a PITA

Copy link

@CrookedGrin CrookedGrin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great! I checked (ha ha) on the other usages of checkbox, such as in <sl-menu-item> and in forms, and it all looks good. The one missing thing is to bump the version (still showing 1.0.6, would maybe call this 1.1.0 since it changed the rendering of the checkbox) and add a changelog entry. Then once we merge we can cut another release.

Copy link

@CrookedGrin CrookedGrin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants