Skip to content

Commit

Permalink
fix: file preview text
Browse files Browse the repository at this point in the history
  • Loading branch information
tomicvladan committed Oct 13, 2023
1 parent 266d134 commit e35514a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/FilePreview/FilePreview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,9 @@ const FilePreview: FC<FilePreviewProps> = ({

if (type === PreviewType.Text) {
return (
<p className="w-full h-auto my-10 max-h-48 overflow-auto">{content}</p>
<p className="w-full h-auto my-10 max-h-48 overflow-auto text-color-accents-purple-black dark:text-color-shade-white-night">
{content}
</p>
);
}

Expand Down

0 comments on commit e35514a

Please sign in to comment.