mirror of
https://github.com/hcengineering/platform.git
synced 2024-12-18 16:31:57 +03:00
style(drive): fix pdf appears small (#7291)
Signed-off-by: Dakshesh Jain <dakshesh.jain14@gmail.com>
This commit is contained in:
parent
e88519257b
commit
c100f427f3
@ -42,7 +42,13 @@
|
||||
</script>
|
||||
|
||||
{#if object !== undefined && version !== undefined && blob !== undefined && contentType !== undefined}
|
||||
<FilePreview file={blob} {contentType} name={version.title} metadata={version.metadata} fit />
|
||||
<FilePreview
|
||||
file={blob}
|
||||
{contentType}
|
||||
name={version.title}
|
||||
metadata={version.metadata}
|
||||
fit={contentType !== 'application/pdf'}
|
||||
/>
|
||||
|
||||
{#if object.versions > 1}
|
||||
<div class="w-full mt-6">
|
||||
|
Loading…
Reference in New Issue
Block a user