From 1d6634d5ae1a567f846c89f1af1cab13fabfcc87 Mon Sep 17 00:00:00 2001 From: andreas-unleash Date: Tue, 9 Apr 2024 10:14:17 +0300 Subject: [PATCH] fix: dark mode background (#6803) Fixes a bug where the background of Legal values was white for dark mode Screenshot 2024-04-09 at 10 10 16 Signed-off-by: andreas-unleash --- .../LegalValueLabel/LegalValueLabel.styles.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/component/common/NewConstraintAccordion/ConstraintAccordionEdit/ConstraintAccordionEditBody/LegalValueLabel/LegalValueLabel.styles.ts b/frontend/src/component/common/NewConstraintAccordion/ConstraintAccordionEdit/ConstraintAccordionEditBody/LegalValueLabel/LegalValueLabel.styles.ts index f4d58d2c0f..0d13b14055 100644 --- a/frontend/src/component/common/NewConstraintAccordion/ConstraintAccordionEdit/ConstraintAccordionEditBody/LegalValueLabel/LegalValueLabel.styles.ts +++ b/frontend/src/component/common/NewConstraintAccordion/ConstraintAccordionEdit/ConstraintAccordionEditBody/LegalValueLabel/LegalValueLabel.styles.ts @@ -4,7 +4,7 @@ export const StyledContainer = styled('div')(({ theme }) => ({ display: 'inline-block', wordBreak: 'break-word', padding: theme.spacing(0.5, 1), - background: theme.palette.common.white, + background: theme.palette.background.paper, border: `1px solid ${theme.palette.divider}`, borderRadius: theme.shape.borderRadius,