Skip to content

Conversation

tneotia
Copy link
Contributor

@tneotia tneotia commented May 15, 2021

Title.

Builds on #675.

Fixes #671 and fixes #565.

shrinkWrap: true and 'html': Style(backgroundColor: Colors.yellow), in Style():

(Some elements were removed, see below)

Limitations

It will not shrinkwrap:

  • table
  • ul
  • ol
  • any element with a custom TextAlign because the full width is needed to represent those correctly, e.g. TextAlign.center

Regression testing needed, I don't think there are any. If there are it'll be with layout - there shouldn't be any errors in code.

@erickok
Copy link
Contributor

erickok commented May 23, 2021

@tneotia do you see anything that your PR does and mine doesn't? If so, which one do we want to merge?

@tneotia
Copy link
Contributor Author

tneotia commented May 23, 2021

Nope they look to have the same features, just your code is more concise so I'd prefer to merge yours. Nice work!

I'll close this.

@tneotia tneotia closed this May 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants