Skip to content

Commit

Permalink
Merge pull request #545 from fairDataSociety/fix/file-review-text
Browse files Browse the repository at this point in the history
fix: file preview text
  • Loading branch information
tfius authored Oct 16, 2023
2 parents 13a161f + d6be94d commit d31efe8
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 d31efe8

Please sign in to comment.