8000 [BUG] The div tag creates extra space · Issue #1218 · Sub6Resources/flutter_html · GitHub
[go: up one dir, main page]

Skip to content
[BUG] The div tag creates extra space #1218
Closed
@balaji101010

Description

@balaji101010
Html(style: {
                  '#': Style(margin: EdgeInsets.zero, padding: EdgeInsets.zero)
                }, data: '''<div><div><div><div><p> Hello There</p></div></div></div></div>'''));

The above code creates extra space on top

Screenshot 2023-01-27 at 3 46 19 PM

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.3.10, on macOS 13.0.1 22A400 darwin-arm, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
[✓] Xcode - develop for iOS and macOS (Xcode 14.2)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.3)
[✓] Android Studio (version 2021.3)
[✓] VS Code (version 1.74.2)
[✓] Connected device (3 available)
[✓] HTTP Host Availability

• No issues found!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingcssEnhancements/issues with css propertieswhitespace issues

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0