From 8327b72e3f82de9bd4cf31313f5fdf991dd3c10c Mon Sep 17 00:00:00 2001 From: Avris 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 d2d51a0a..6666d9e9 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 d87df63a..9b208963 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 `)); }));