From 1b2d16ba7897066c8aea916ae05676b2c3387d76 Mon Sep 17 00:00:00 2001 From: kilo Date: Sun, 9 Jul 2017 16:36:36 +0200 Subject: [PATCH] Fix displaying of user-torrents (#1132) * Update torrents.jet.html * Update main.css * Update main.css * Update torrents.jet.html * Update main.css * Update torrents.jet.html --- public/css/main.css | 7 ++++++- templates/site/user/torrents.jet.html | 24 +++++++++++++++--------- 2 files changed, 21 insertions(+), 10 deletions(-) diff --git a/public/css/main.css b/public/css/main.css index 023ff4f7..c1fc0bb5 100644 --- a/public/css/main.css +++ b/public/css/main.css @@ -271,7 +271,12 @@ table { th { height: 40px;} -.home-td { height: 37px; } +.home-td,.user-td { height: 37px; } +.user-td { + padding: 4px 5px 4px 1px; + min-width: 74px!important; +} +.user-torrent .tr-name a { margin-left: 5px; } th, .home-td { border-bottom: 1px solid; diff --git a/templates/site/user/torrents.jet.html b/templates/site/user/torrents.jet.html index 2f16836d..d20d4d97 100644 --- a/templates/site/user/torrents.jet.html +++ b/templates/site/user/torrents.jet.html @@ -14,17 +14,23 @@ {{ range i, t := UserProfile.Torrents }} {{ if DisplayTorrent(t, User) }} {{ torrent := t.ToJSON() }} - - - - {{ if Sukebei }} - - {{ else }} - - {{ end}} - + + {{ if Sukebei }} +
+ {{ else}} +