Skip to content

Commit

Permalink
Make sure alerts use default font color
Browse files Browse the repository at this point in the history
If we don't unset it, the default bootstrap p style turns
dark mode illegible (uses white-ish color). This seems
to be an issue specific to the very old version of Bootstrap
being used (v3.x).

When running the site locally, I could not find any other
.css (or .less) files being built or linked from the page,
so I placed the only needed style in the only other style
file other than bootstrap.
  • Loading branch information
kzu committed Sep 13, 2024
1 parent 83b2091 commit 101fa6a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/NuGetGallery/Content/gallery/css/fabric.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
/*
Your use of the content in the files referenced here is subject to the terms of the license at http://aka.ms/fabric-assets-license
*/
.markdown-alert > p {
color: unset !important;
}

@keyframes ms-motion-fadeIn {
from {
opacity: 0;
Expand Down

0 comments on commit 101fa6a

Please sign in to comment.