Skip to content

Commit 26639e2

Browse files
authored
Remove the <source> that messes it up in dark mode (devcontainers#90)
Fixes devcontainers#88 Nothing else changes when dark mode is enabled, so this is the only thing that does. When it does, it makes it white-on-white which isn't readable. The reason I removed the <picture> wrapper tag is just personal preference to not use stuff if it's not needed; and it doesn't seem to be needed when you only have one <img> and no <source> elements to provide alternatives 🤷‍♂️.
1 parent b75f1b9 commit 26639e2

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

_includes/footer.html

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,7 @@
2828
<li>
2929
<div class="copyright">
3030
<a id="footer-microsoft-link" class="logo" href="https://www.microsoft.com">
31-
<picture>
32-
<source srcset="{{site.baseurl}}/img/microsoft-logo.png" media="(prefers-color-scheme: dark)"></source>
33-
<img src="{{site.baseurl}}/img/microsoft-logo-inverted.png" height="20" alt="Microsoft">
34-
</picture>
31+
<img src="{{site.baseurl}}/img/microsoft-logo-inverted.png" height="20" alt="Microsoft">
3532
</a>
3633
<span>© 2022 Microsoft</span>
3734
</div>

0 commit comments

Comments
 (0)