Skip to content

Commit

Permalink
Fix regression caused by fb7f4e8, also see anki-geo#173
Browse files Browse the repository at this point in the history
Exact cause not fully explored, but suspect the addition of one `.night_mode` class causes AnkiDroid to stop automatically inverting any colors. Therefore, the Anki Desktop-only `.nightMode` changes to `.night_mode` to cause proper colors on AnkiDroid as well as Anki Desktop. This should also be regression tested on Anki Mobile (iPhone app), which I am unable to do.
  • Loading branch information
ukanuk committed Apr 7, 2020
1 parent e156abe commit 5342ac4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ hr {
margin: 1.5em 0;
}

.nightMode .info, .nightMode .type {
.night_mode .info, .night_mode .type {
color: #ccc;
}

Expand Down

0 comments on commit 5342ac4

Please sign in to comment.