-
-
Notifications
You must be signed in to change notification settings - Fork 913
Closed
Labels
bugSomething isn't workingSomething isn't workinglistsIssues with <ol>, <ul>, and <li>Issues with <ol>, <ul>, and <li>
Milestone
Description
Describe the bug:
add line-height css causes list misalignment
HTML to reproduce the issue:
<style>
.content {
line-height: 2;
}
</style>
<div class="content">
<p>1</p>
<p>2</p>
<p>3</p>
<ol>
<li>11</li>
<li>22</li>
</ol>
</div>
Html
widget configuration:
Html(
data:
'<style>.content {line-height:2;}</style><div class="content"><p>1</p><p>2</p><p>3</p><ol><li>11</li><li>22</li></ol></div>',
)
Expected behavior:
Screenshots:
Device details and Flutter/Dart/flutter_html
versions:
flutter_html: ^2.2.1
Stacktrace/Logcat
Additional info:
A picture of a cute animal (not mandatory but encouraged)
TDuffinNTU and Sub6Resources
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinglistsIssues with <ol>, <ul>, and <li>Issues with <ol>, <ul>, and <li>