TF-3267 Tunning width size of HTML viewer
This commit is contained in:
committed by
Dat H. Pham
parent
ac91cae0db
commit
78600f09e9
@@ -39,5 +39,5 @@ extension AttachmentExtension on Attachment {
|
||||
|
||||
DownloadTaskId get downloadTaskId => DownloadTaskId(blobId!.value);
|
||||
|
||||
bool get isHTMLFile => type?.isPDFFile(fileName: name) ?? false;
|
||||
bool get isHTMLFile => type?.isHTMLFile(fileName: name) ?? false;
|
||||
}
|
||||
@@ -52,7 +52,7 @@ class HtmlAttachmentPreviewer extends StatelessWidget {
|
||||
responsiveUtils: responsiveUtils,
|
||||
desktop: _buildHtmlViewerWith(
|
||||
context,
|
||||
width: constraints.maxWidth * 0.4,
|
||||
width: constraints.maxWidth * 0.8,
|
||||
height: constraints.maxHeight - _verticalMargin * 2
|
||||
),
|
||||
tablet: _buildHtmlViewerWith(
|
||||
|
||||
Reference in New Issue
Block a user