From eb2eb99e9613c6910ffd49f3333653837aa8bbc9 Mon Sep 17 00:00:00 2001 From: Andrea Vos Date: Wed, 25 Aug 2021 08:56:36 +0200 Subject: [PATCH] [dark] fix list-group-item font colour --- assets/dark.scss | 2 +- server/routes/admin.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/dark.scss b/assets/dark.scss index d2d51a0a5..6666d9e96 100644 --- a/assets/dark.scss +++ b/assets/dark.scss @@ -104,7 +104,7 @@ body[data-theme="dark"] { .list-group-item-action:hover, .list-group-item-action:focus { color: #fff; background-color: #333; } .list-group-item-action:active { color: #212529; background-color: #e9ecef; } - .list-group-item { background-color: #111; border: 1px solid #333; } + .list-group-item { color: #eee; background-color: #111; border: 1px solid #333; } .list-group-item:not(:first-child) { border-top: none; } .list-group-item.disabled, .list-group-item:disabled { color: #fff; background-color: #000; } diff --git a/server/routes/admin.js b/server/routes/admin.js index d87df63af..9b208963b 100644 --- a/server/routes/admin.js +++ b/server/routes/admin.js @@ -171,7 +171,7 @@ router.get('/admin/reports', handleErrorAsync(async (req, res) => { FROM reports LEFT JOIN users sus ON reports.userId = sus.id LEFT JOIN users reporter ON reports.reporterId = reporter.id - ORDER BY reports.isHandled ASC, reports.id ASC + ORDER BY reports.isHandled ASC, reports.id DESC `)); }));