Skip to content

Commit

Permalink
fix: social media typesetting
Browse files Browse the repository at this point in the history
  • Loading branch information
DIYgod committed Sep 8, 2024
1 parent e133a17 commit 664b70d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/renderer/src/components/ui/media.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ const MediaImpl: FC<MediaProps> = ({
<span
className={cn(
hidden && "hidden",
"block",
"center",
!(props.width || props.height) && "size-full",
"relative bg-stone-100 object-cover",
mediaContainerClassName,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export const SocialMediaItem: EntryListItemFC = ({
)}
>
<EntryTranslation
className="cursor-auto select-text"
className="cursor-auto select-text [&_br:last-child]:hidden"
source={content}
target={translation?.content}
isHTML
Expand Down

0 comments on commit 664b70d

Please sign in to comment.