diff --git a/packages/presentation/src/components/FilePreview.svelte b/packages/presentation/src/components/FilePreview.svelte index e907a2d29e..4397b1173c 100644 --- a/packages/presentation/src/components/FilePreview.svelte +++ b/packages/presentation/src/components/FilePreview.svelte @@ -82,7 +82,7 @@ use:resizeObserver={(element) => (parentWidth = element.clientWidth)} class="content w-full h-full" class:flex-center={fit && !audio} - style:min-height={fit ? '100%' : `${minHeight ?? 0}px`} + style:min-height={fit ? '0' : `${minHeight ?? 0}px`} > {#await srcRef then src} {#if src === ''} diff --git a/plugins/drive-resources/src/components/EditFile.svelte b/plugins/drive-resources/src/components/EditFile.svelte index 20f75b0c20..a2351cbcc5 100644 --- a/plugins/drive-resources/src/components/EditFile.svelte +++ b/plugins/drive-resources/src/components/EditFile.svelte @@ -50,7 +50,7 @@ {#if object !== undefined && version !== undefined} {#if blob !== undefined} - + {/if} {#if object.versions > 1} diff --git a/plugins/drive-resources/src/components/EditFileVersions.svelte b/plugins/drive-resources/src/components/EditFileVersions.svelte index f1157bff81..4f4e9a85aa 100644 --- a/plugins/drive-resources/src/components/EditFileVersions.svelte +++ b/plugins/drive-resources/src/components/EditFileVersions.svelte @@ -13,7 +13,7 @@ // limitations under the License. --> @@ -34,7 +35,7 @@ {#if value} {#if inline} {:else if type === 'link'} - +
{version} diff --git a/services/love/src/workspaceClient.ts b/services/love/src/workspaceClient.ts index 567eda4520..a2323db58d 100644 --- a/services/love/src/workspaceClient.ts +++ b/services/love/src/workspaceClient.ts @@ -67,7 +67,13 @@ export class WorkspaceClient { name, size: blob.size, type: blob.contentType, - lastModified: blob.modifiedOn + lastModified: blob.modifiedOn, + // hardcoded values from preset we use + // https://docs.livekit.io/realtime/egress/overview/#EncodingOptionsPreset + metadata: { + originalHeight: 720, + originalWidth: 1280 + } } await createFile(this.client, love.space.Drive, drive.ids.Root, data) }