diff --git a/communication b/communication index 90b0ea297d..930e7b8034 160000 --- a/communication +++ b/communication @@ -1 +1 @@ -Subproject commit 90b0ea297d2c4c2ab3569bff69721beec6809932 +Subproject commit 930e7b803430d959054bec52f8a91946d11860ab diff --git a/packages/ui/src/components/Video.svelte b/packages/ui/src/components/Video.svelte index 84eacc454c..1ace8bb6de 100644 --- a/packages/ui/src/components/Video.svelte +++ b/packages/ui/src/components/Video.svelte @@ -63,6 +63,7 @@ :global(.plyr) { flex: 1; min-width: 10rem; + border-radius: 0.75rem; --plyr-control-spacing: 0.5rem; --plyr-control-icon-size: 1rem; --plyr-video-background: transparent; diff --git a/plugins/attachment-resources/src/components/AttachmentVideoPreview.svelte b/plugins/attachment-resources/src/components/AttachmentVideoPreview.svelte index 6a08e2db5b..14da77d9f8 100644 --- a/plugins/attachment-resources/src/components/AttachmentVideoPreview.svelte +++ b/plugins/attachment-resources/src/components/AttachmentVideoPreview.svelte @@ -33,7 +33,7 @@ function getDimensions (value: Attachment | BlobType): { width: number, height: number } { const fontSize = parseFloat(getComputedStyle(document.documentElement).fontSize) - if (!value.metadata) { + if (value.metadata?.originalWidth == null || value.metadata.originalHeight == null) { const baseSize = baseSizeRem * fontSize return { width: baseSize, height: baseSize } } diff --git a/plugins/communication-resources/src/components/thread/Thread.svelte b/plugins/communication-resources/src/components/thread/Thread.svelte index 20d5aac799..451ad88890 100644 --- a/plugins/communication-resources/src/components/thread/Thread.svelte +++ b/plugins/communication-resources/src/components/thread/Thread.svelte @@ -77,6 +77,8 @@ display: flex; flex-shrink: 1; min-width: 0; + min-height: 2.375rem; + height: 2.375rem; } .replies { display: flex; @@ -89,6 +91,7 @@ min-width: 0; border: 1px solid var(--global-ui-BorderColor); min-height: 2.375rem; + height: 2.375rem; &:hover { background-color: var(--theme-bg-color);