Skip to content

Commit

Permalink
fix(media): adjust inline media size and alignment for better display #…
Browse files Browse the repository at this point in the history
  • Loading branch information
orangelckc authored Dec 23, 2024
1 parent 8bf9dd0 commit 86b5712
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/renderer/src/components/ui/media.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 86b5712

Please sign in to comment.