Skip to content

Commit

Permalink
fix: don't apply extra image styling to images outside the main
Browse files Browse the repository at this point in the history
Without this modifier, the border, background color, etc, also applies
to logos in the header and footer, and that's not what we want.
  • Loading branch information
thomasheartman committed Feb 10, 2022
1 parent 141ea5f commit 17d32f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/src/css/custom.css
Expand Up @@ -61,7 +61,7 @@ html[data-theme='dark'] {
--unleash-img-background-color: #fff;
}

img {
main img {
background: var(--unleash-img-background-color);
display: block;
margin: auto;
Expand Down

0 comments on commit 17d32f5

Please sign in to comment.