Chat fixes v2 (#9616)

Signed-off-by: Kristina Fefelova <kristin.fefelova@gmail.com>
This commit is contained in:
Kristina
2025-07-30 14:09:18 +04:00
committed by GitHub
parent 64530262bb
commit f3c4de0a44
4 changed files with 6 additions and 2 deletions
+1
View File
@@ -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;
@@ -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 }
}
@@ -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);