mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-23 18:15:03 +02:00
Chat fixes v2 (#9616)
Signed-off-by: Kristina Fefelova <kristin.fefelova@gmail.com>
This commit is contained in:
+1
-1
Submodule communication updated: 90b0ea297d...930e7b8034
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user