Browse Source

Revert "fix notification reminder popup -> purple background (#2209)"

This reverts commit ab573f67e9.
pull/2217/head
Gabe Kangas 3 years ago
parent
commit
e3c038f48d
No known key found for this signature in database
GPG Key ID: 9A56337728BC81EA
  1. 4
      web/components/ui/NotifyReminderPopup/NotifyReminderPopup.module.scss
  2. 4
      web/components/ui/NotifyReminderPopup/NotifyReminderPopup.tsx

4
web/components/ui/NotifyReminderPopup/NotifyReminderPopup.module.scss

@ -3,7 +3,6 @@
border: none; border: none;
text-align: left; text-align: left;
cursor: pointer; cursor: pointer;
color: var(--theme-color-components-text-on-dark);
} }
.closebutton { .closebutton {
@ -14,13 +13,10 @@
border: none; border: none;
font-size: 1.3rem; font-size: 1.3rem;
cursor: pointer; cursor: pointer;
color: var(--theme-color-components-text-on-dark);
} }
.title { .title {
border-bottom: none; border-bottom: none;
font-weight: bold; font-weight: bold;
padding-left: 5px; padding-left: 5px;
color: var(--theme-color-components-text-on-dark);
} }

4
web/components/ui/NotifyReminderPopup/NotifyReminderPopup.tsx

@ -35,9 +35,6 @@ export const NotifyReminderPopup: FC<NotifyReminderPopupProps> = ({
paddingRight: '10px', paddingRight: '10px',
fontSize: '16px', fontSize: '16px',
}; };
const bgColor = getComputedStyle(document.documentElement).getPropertyValue(
'--theme-color-palette-7',
);
const popupClicked = e => { const popupClicked = e => {
e.stopPropagation(); e.stopPropagation();
@ -73,7 +70,6 @@ export const NotifyReminderPopup: FC<NotifyReminderPopupProps> = ({
title={title} title={title}
content={content} content={content}
overlayInnerStyle={popupStyle} overlayInnerStyle={popupStyle}
color={bgColor}
> >
{children} {children}
</Popover> </Popover>

Loading…
Cancel
Save