From 8498ff8e62629cb18c2dddb8de37683ef307af6b Mon Sep 17 00:00:00 2001 From: Alex Ingram Date: Mon, 23 Apr 2018 17:47:18 -0500 Subject: [PATCH] Fix torrent index on narrow viewports. (#484) people should get bigger monitors --- nyaa/static/css/main.css | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/nyaa/static/css/main.css b/nyaa/static/css/main.css index b719bc2..c443406 100644 --- a/nyaa/static/css/main.css +++ b/nyaa/static/css/main.css @@ -544,6 +544,26 @@ body.dark .panel-deleted > .panel-heading { .search-container > .search-bar { margin-top: 15px; } + + .torrent-list .hdr-date, + .torrent-list .hdr-downloads, + .torrent-list td: nth-of-type(5), + .torrent-list td:nth-of-type(8) { + display: none; + } + + .table-responsive > .table > tbody > tr > td:nth-of-type(2) { + white-space: unset; + word-break: break-all; + } + + .container { + width: unset; + } + + .container > .row { + margin: unset; + } } @media (min-width: 992px) { @@ -574,6 +594,10 @@ td.report-action-column { .search-container { width: 400px; } + + .table-responsive > .table > tbody > tr > td:nth-of-type(2) { + white-space: unset; + } }