From 29328cf72a88d7a13ea5ee4a1d7fc515f28fd5a9 Mon Sep 17 00:00:00 2001 From: OldHawk Date: Sat, 13 Jan 2018 13:45:15 +0800 Subject: [PATCH] fix(core): fixed home page and torrents list page css style --- modules/core/client/less/mt.less | 5 ++- .../core/client/views/home.client.view.html | 37 ++++++++++++------- .../views/list-torrents.client.view.html | 3 +- 3 files changed, 29 insertions(+), 16 deletions(-) diff --git a/modules/core/client/less/mt.less b/modules/core/client/less/mt.less index a468a01e..87d4826d 100644 --- a/modules/core/client/less/mt.less +++ b/modules/core/client/less/mt.less @@ -336,7 +336,7 @@ body { display: inline-block; } } - > img { + img { opacity: 1; } .music { @@ -346,8 +346,9 @@ body { opacity: 1; } } - > img { + img { opacity: 0.8; + min-height: 200px; } .caption { padding: 5px 3px 2px; diff --git a/modules/core/client/views/home.client.view.html b/modules/core/client/views/home.client.view.html index 5a573ee7..b25f5b5a 100644 --- a/modules/core/client/views/home.client.view.html +++ b/modules/core/client/views/home.client.view.html @@ -154,7 +154,8 @@ @@ -177,7 +178,8 @@ + on-error-src="/modules/torrents/client/img/default_backdrop_300.jpg" + alt="{{vm.TGI.getTorrentTitle(nt)}}" title="{{vm.TGI.getTorrentTitle(nt)}}">