Skip to content

Commit

Permalink
fix: Add "display: Display.block" to table (#1278)
Browse files Browse the repository at this point in the history
Co-authored-by: Arjan Mels <github@mels.email>
  • Loading branch information
arjanmels and Arjan Mels committed May 23, 2023
1 parent 27e33a9 commit 6350f02
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/flutter_html_table/lib/flutter_html_table.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ library flutter_html_table;

import 'dart:math';

import 'package:flutter_layout_grid/flutter_layout_grid.dart';
import 'package:flutter/material.dart';
import 'package:flutter_html/flutter_html.dart';
import 'package:flutter_layout_grid/flutter_layout_grid.dart';

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

0 comments on commit 6350f02

Please sign in to comment.