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:
parent
7a54e8e2dd
commit
1278df32e4
1 changed files with 4 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue