From f4cec5476202346aeac42b40182ad1b7c02f1d7c Mon Sep 17 00:00:00 2001 From: Zack Stickles Date: Fri, 5 Nov 2021 10:53:27 -0700 Subject: [PATCH] fix: added white background for quickstart icons These were looking a little rough in dark-mode (see before / after screenshots in the pull request). This isn't a perfect solution, but I think it looks much better than before. --- src/components/PackTile.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/PackTile.js b/src/components/PackTile.js index 46c8b193c..21cb4166a 100644 --- a/src/components/PackTile.js +++ b/src/components/PackTile.js @@ -83,10 +83,11 @@ const PackTile = ({ object-fit: scale-down; width: ${view === VIEWS.GRID ? 100 : 25}%; padding: 0 ${view === VIEWS.GRID ? 5 : 1}%; - margin: 10px auto; + margin: 0 auto 10px; .dark-mode & { background-color: rgb(231 231 231 / 0); + background: white; } ${view === VIEWS.LIST &&