-
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
POC for linear list item #5009
base: main
Are you sure you want to change the base?
POC for linear list item #5009
Conversation
Thanks for the PR! 🎉 We've deployed an automatic preview for this PR - you can see your changes here:
Note The build needs to finish before your changes are deployed. |
@@ -1,3 +1,3 @@ | |||
<svg width="18" height="18" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18" mirror-in-rtl="true"> | |||
<svg width="18" height="18" xmlns="http://www.w3.org/2000/svg" viewBox="0 1 18 18" mirror-in-rtl="true"> |
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.
@geurts May want to re-export this with the whole path shifted properly rather than modify the viewbox
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.
Nice catch — here's what I get when I fix the alignment and put it through svgomg:
<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M6 12.96v-8c0-.4.2-.8.6-.9.4-.1.8-.1 1.1.2l4 4c.4.4.4 1 0 1.4l-4 4c-.3.3-.7.4-1.1.2-.4-.1-.6-.5-.6-.9Zm2-5.6v3.2l1.6-1.6L8 7.36Z" fill="#494C4E"/>
</svg>
4b133cf
to
82706b2
Compare
We recently had a discussion about basic list items appearing out of alignment.
This is a POC for a
linear
mode for list items to force them to display on a single, center-aligned line with no stacked content and no line wrapping.Style details are obviously flexible.
Demo at the bottom of list drag and drop page
Bonus fix: The
arrow-expand-small
icon has bothered me for years:Before
After