1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-02-04 00:18:01 +01:00

fix: don't apply extra image styling to images outside the main

Without this modifier, the border, background color, etc, also applies
to logos in the header and footer, and that's not what we want.
This commit is contained in:
Thomas Heartman 2022-02-10 16:42:11 +01:00
parent 141ea5fdb0
commit 17d32f5e43

View File

@ -61,7 +61,7 @@ html[data-theme='dark'] {
--unleash-img-background-color: #fff; --unleash-img-background-color: #fff;
} }
img { main img {
background: var(--unleash-img-background-color); background: var(--unleash-img-background-color);
display: block; display: block;
margin: auto; margin: auto;