TF-4050 fix: cannot preview html file

This commit is contained in:
dab246
2025-11-06 00:05:05 +07:00
committed by Dat H. Pham
parent 92286b48e1
commit ecd3ac0295
@@ -69,6 +69,9 @@ class _HtmlAttachmentPreviewerState extends State<HtmlAttachmentPreviewer> {
child: Center(
child: Container(
margin: const EdgeInsets.symmetric(vertical: _verticalMargin),
constraints: BoxConstraints(
maxHeight: MediaQuery.of(context).size.height,
),
color: Colors.white,
child: ResponsiveWidget(
responsiveUtils: widget.responsiveUtils,