From 418856a4bfd0d1ea8b03415e722de29a05abfa5a Mon Sep 17 00:00:00 2001 From: sfan5 Date: Thu, 1 Feb 2018 20:35:04 +0100 Subject: [PATCH] Undo responsive table for reports (#444) It was removed on purpose in fdb041c23b4956dc9857ce299574b00a2161d230. Instead just add a CSS rule to fix the table header. --- nyaa/static/css/main.css | 4 ++++ nyaa/templates/reports.html | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/nyaa/static/css/main.css b/nyaa/static/css/main.css index 75a2bfe..b719bc2 100644 --- a/nyaa/static/css/main.css +++ b/nyaa/static/css/main.css @@ -480,6 +480,10 @@ body.dark .comment-panel:target { border-color: white; } +body.dark .table > table { + background-color: #323232; +} + /* trusted */ body.dark .torrent-list > tbody > tr.success > td { color: inherit; diff --git a/nyaa/templates/reports.html b/nyaa/templates/reports.html index d1524b1..fd013ed 100644 --- a/nyaa/templates/reports.html +++ b/nyaa/templates/reports.html @@ -2,7 +2,7 @@ {% block title %}Reports :: {{ config.SITE_NAME }}{% endblock %} {% block body %} {% from "_formhelpers.html" import render_field %} -
+