From 2a119e653724ed347d0f3d8d08639f0a18b6b75a Mon Sep 17 00:00:00 2001 From: kilo Date: Mon, 10 Jul 2017 05:55:49 +0200 Subject: [PATCH] make size & date centered in user torrent view (#1140) * css changes * Update main.css * Update torrents.jet.html --- public/css/main.css | 5 ++--- templates/site/user/torrents.jet.html | 8 ++++---- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/public/css/main.css b/public/css/main.css index e7b718f8..ec97cb47 100644 --- a/public/css/main.css +++ b/public/css/main.css @@ -271,8 +271,8 @@ table { th { height: 40px;} -.home-td,.user-td { height: 37px; } -.user-td { +.home-td,.user-td { height: 37px; text-align: center; } +.user-td.tr-cat { padding: 4px 5px 4px 1px; min-width: 74px!important; } @@ -280,7 +280,6 @@ th { height: 40px;} th, .home-td { border-bottom: 1px solid; - text-align: center; padding: 2px 5px; white-space: nowrap; overflow: hidden; diff --git a/templates/site/user/torrents.jet.html b/templates/site/user/torrents.jet.html index 0fab27bb..3e5ede8c 100644 --- a/templates/site/user/torrents.jet.html +++ b/templates/site/user/torrents.jet.html @@ -32,12 +32,12 @@ - + {{torrent.Name}} - +
@@ -47,10 +47,10 @@ {{end}} - + {{ fileSize(torrent.Filesize, T) }} - {{torrent.Date}} + {{torrent.Date}} {{end}} {{end}}