Skip to content

Add support for list-style-position css attribute #315

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

Merged
merged 4 commits into from
Sep 7, 2020
Merged

Add support for list-style-position css attribute #315

merged 4 commits into from
Sep 7, 2020

Conversation

JacobWrenn
Copy link
Contributor

Add support for the list-style-position CSS attribute. When set to ListStylePosition.INSIDE, bullets and list numbers will be part of the text and align with it. Fixes #302

Copy link
Contributor

@ryan-berger ryan-berger left a comment

Choose a reason for hiding this comment

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

Overall, looks good. Take a look at my other comment for some feedback before this is merged. I haven't run this yet and tested it out, but everything looks great, and I expect it works well.

I'll try to test this out sometime this week, and if everything looks fine and nothing breaks, and your code edits are ready, I'll merge this in along with a couple of other items

@JacobWrenn JacobWrenn requested a review from ryan-berger June 20, 2020 11:05
textAlign: TextAlign.right,
style: newContext.style.generateTextStyle()),
),
children: [
Copy link
Contributor

Choose a reason for hiding this comment

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

Looks much prettier! I'll test this out tomorrow and get it merged

@iampstew
Copy link

iampstew commented Jul 8, 2020

Is this now available in dart.dev now? in terms of the update version?

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.

Support for list-style-position: inside; (for centering bullets with the text)
3 participants