Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added "display: Display.block" to table #1278

Merged
merged 1 commit into from
May 23, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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