fix(media): adjust inline media size and alignment for better display #2251 (#2254)

This commit is contained in:
KC 2024-12-23 14:34:07 +01:00 committed by GitHub
parent 8bf9dd07e5
commit 86b57120fc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -193,7 +193,7 @@ const MediaImpl: FC<MediaProps> = ({
onError={errorHandle}
className={cn(
"size-full object-contain",
inline && "size-auto",
inline && "size-auto max-h-[1.3em] align-sub",
popper && "cursor-zoom-in",
"duration-200",
mediaLoadState === "loaded" ? "opacity-100" : "opacity-0",