Skip to content

Commit

Permalink
fix: set darkreader color to neutral text
Browse files Browse the repository at this point in the history
  • Loading branch information
giuliano176 committed Dec 2, 2024
1 parent 06df8a0 commit d3a3502
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ export const HtmlMessageRenderer: FC<HtmlMessageRendererType> = ({ message }) =>
};

return (
<div ref={divRef} style={{ height: '100%' }} className="force-white-bg">
<div ref={divRef} style={{ height: '100%' }}>
{showBanner && !showExternalImage && (
<BannerViewExternalImages
setShowExternalImages={setShowExternalImage}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,9 @@ export const MailPreviewContent: FC<MailPreviewContentProps> = ({
>
{message.isComplete && (
<Container
className="force-white-bg"
style={{
color: 'var(--darkreader-neutral-text) !important'
}}
data-testid="MessageBody"
width="100%"
height="100%"
Expand Down

0 comments on commit d3a3502

Please sign in to comment.