From 848104611d49b0bb7b79e36bc5b0b9b9918dae87 Mon Sep 17 00:00:00 2001 From: Alexandr Buhlak <48954743+saha80@users.noreply.github.com> Date: Tue, 19 Sep 2023 16:15:59 +0300 Subject: [PATCH] fix(#267): stalled white background --- src/components/common/BaseArticle/BaseArticle.styles.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/components/common/BaseArticle/BaseArticle.styles.ts b/src/components/common/BaseArticle/BaseArticle.styles.ts index 7ddbed43..7893aa26 100644 --- a/src/components/common/BaseArticle/BaseArticle.styles.ts +++ b/src/components/common/BaseArticle/BaseArticle.styles.ts @@ -24,10 +24,7 @@ export const Wrapper = styled.div` box-shadow: ${({ theme }) => theme.boxShadow}; border-radius: ${({ theme }) => theme.borderRadius}; transition: 0.3s; - - [data-theme='dark'] & { - background: ${({ theme }) => theme.secondaryBackground}; - } + background: ${({ theme }) => theme.secondaryBackground}; &:hover { box-shadow: ${({ theme }) => theme.boxShadowHover};