Skip to content

Commit

Permalink
fix: added white background for quickstart icons
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
zstix committed Nov 5, 2021
1 parent 11ecd21 commit f4cec54
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/PackTile.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 &&
Expand Down

0 comments on commit f4cec54

Please sign in to comment.