Open vikramsinghrajpoot opened 1 year ago
<!DOCTYPE html> <html> <head> <title>Page Title</title> </head> <body> <p style="text-align:center;width:100%;"> <span style="font-family:TheinhardtPan;">You have completed Day 1.</span> </p> </body> </html>
inline styling text-align:center not working for single line, when add more than 2 line its starts working
text-align:center
Which flutter_html version is this on?
This is related to an issue with width:100% being interpreted as width:100px. If you remove the width:100%, it works as expected on 3.0.0-beta.1
width:100%
width:100px
inline styling
text-align:center
not working for single line, when add more than 2 line its starts working