From 61a267af439723fec236bac5eb98190f0ccaff1b Mon Sep 17 00:00:00 2001 From: kilo Date: Mon, 10 Jul 2017 07:13:11 +0200 Subject: [PATCH] Better alignement in user torrent page (#1147) * Update main.css * Update torrents.jet.html --- public/css/main.css | 9 +++++++-- templates/site/user/torrents.jet.html | 10 +++++----- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/public/css/main.css b/public/css/main.css index 68771e9d..27bf554e 100644 --- a/public/css/main.css +++ b/public/css/main.css @@ -283,7 +283,13 @@ table { th { height: 40px;} -.home-td,.user-td { height: 37px; text-align: center; } + +th,.home-td,.user-td { + height: 37px; + text-align: center; + padding: 2px 5px; +} + .user-td.tr-cat { padding: 4px 5px 4px 1px; min-width: 74px!important; @@ -291,7 +297,6 @@ th { height: 40px;} th, .home-td { border-bottom: 1px solid; - padding: 2px 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; diff --git a/templates/site/user/torrents.jet.html b/templates/site/user/torrents.jet.html index b80a0370..ff474a05 100644 --- a/templates/site/user/torrents.jet.html +++ b/templates/site/user/torrents.jet.html @@ -6,11 +6,11 @@ {{ if len(UserProfile.Torrents) > 0 }} - - - - - + + + + + {{ range i, t := UserProfile.Torrents }} {{ if DisplayTorrent(t, User) }}
{{ T("category")}}{{ T("name")}}{{ T("links")}}{{ T("size")}}{{ T("date")}}{{ T("category")}}{{ T("name")}}{{ T("links")}}{{ T("size")}}{{ T("date")}}