viewer: make the log modal readable in dark mode

The modal kept its own light backgrounds (#fefefe content, #ccc/#fff log
rows) but let the text color inherit from the page, so the platform's dark
mode rendered it white-on-gray. Pin an explicit dark text color on
.modal-content — the viewer styles everything else with fixed colors too —
so the log (and the other modals) are readable in both themes.
This commit is contained in:
coyotte508 2026-08-17 09:50:30 +00:00
commit 1278df32e4

View file

@ -1713,6 +1713,10 @@ text {
.modal-content {
border-radius: 5px;
background-color: #fefefe;
// Explicit text color: the platform's dark mode sets a light text color on the
// page, which would render white-on-light here (the modal keeps its own light
// backgrounds). Like the rest of the viewer, use fixed colors for both themes.
color: #212121;
margin: auto;
padding: 10px 20px 20px 20px;
border: 1px solid #888;