flutter_html
flutter_html copied to clipboard
Need to control 'table' tag's min width.
Describe your feature request Need to control 'table' tag's min width.
Additional context layout_element.dart
cells.add(GridPlacement(
child: Container(
width: double.infinity, // need to edit
padding: child.style.padding ?? row.style.padding,
decoration: BoxDecoration(
color: child.style.backgroundColor ?? row.style.backgroundColor,
border: child.style.border ?? row.style.border,
),
Are you asking for the css property min-width support? See also #811 for a discussion on tables sizing.
Yes, Will it be supported?
I think we can support this quite easily for block style elements, though specifically for tables it is more tricky - see #811 for a discussion on that. Basically with a set width or min width we'd need to switch from a losse to an expand grid fit.