From 4571b55fc94fd0d0f842c72e14d797728d2da0c4 Mon Sep 17 00:00:00 2001 From: Ricardo Ribeiro Date: Sat, 13 May 2017 18:26:03 +0100 Subject: [PATCH] Fix layout on long torrent names (#23) (For now) * Fix layout on long torrent names before: http://i.imgur.com/cI1pZrF.png after: http://i.imgur.com/BIC722K.png * change space to tab --- nyaa/static/css/main.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nyaa/static/css/main.css b/nyaa/static/css/main.css index 6ef8d78..3d13267 100644 --- a/nyaa/static/css/main.css +++ b/nyaa/static/css/main.css @@ -11,6 +11,10 @@ .torrent-list > tbody > tr > td { vertical-align: middle; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + max-width: 603px; /*Will this break something?*/ } table.torrent-list thead th {