From 3e6e81c50b00b717eebcdf5d2ec1412e234b0ae1 Mon Sep 17 00:00:00 2001 From: aswanson-nr Date: Thu, 6 Jan 2022 10:33:54 -0800 Subject: [PATCH] feat: move dark mode background color --- src/components/PackTile.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/components/PackTile.js b/src/components/PackTile.js index fd435b7c3..181def482 100644 --- a/src/components/PackTile.js +++ b/src/components/PackTile.js @@ -113,6 +113,9 @@ const PackTile = ({ @media screen and (max-width: ${IMAGE_BREAKPOINT}) { display: none; } + .dark-mode & { + background-color: white; + } ${isListView() && css` @@ -136,10 +139,6 @@ const PackTile = ({ object-fit: scale-down; margin: 0 auto 10px; height: 100%; - - .dark-mode & { - background-color: white; - } `} />