Skip to content

Commit bd04e7d

Browse files
author
Arjan Mels
committed
Added Display: block to table
1 parent 27e33a9 commit bd04e7d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/flutter_html_table/lib/flutter_html_table.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ library flutter_html_table;
22

33
import 'dart:math';
44

5-
import 'package:flutter_layout_grid/flutter_layout_grid.dart';
65
import 'package:flutter/material.dart';
76
import 'package:flutter_html/flutter_html.dart';
7+
import 'package:flutter_layout_grid/flutter_layout_grid.dart';
88

99
/// [TableHtmlExtension] adds support for the <table> element to the flutter_html library.
1010
/// <tr>, <tbody>, <tfoot>, <thead>, <th>, <td>, <col>, and <colgroup> are also
@@ -39,7 +39,7 @@ class TableHtmlExtension extends HtmlExtension {
3939
elementClasses: context.classes.toList(),
4040
tableStructure: children,
4141
cellDescendants: cellDescendants,
42-
style: Style(),
42+
style: Style(display: Display.block),
4343
node: context.node,
4444
);
4545
}

0 commit comments

Comments
 (0)