From 3d259e70dd9efe7293596314d2e4cb7a3681bc65 Mon Sep 17 00:00:00 2001 From: OldHawk Date: Sun, 2 Apr 2017 13:57:48 +0800 Subject: [PATCH] add padding to img-circle->img-thumbnail --- modules/core/client/less/mt.less | 6 ++++++ modules/core/client/views/home.client.view.html | 14 +++++++------- .../views/uploads-torrents.client.view.html | 16 ++++++++-------- 3 files changed, 21 insertions(+), 15 deletions(-) diff --git a/modules/core/client/less/mt.less b/modules/core/client/less/mt.less index 09461b39..d079838d 100644 --- a/modules/core/client/less/mt.less +++ b/modules/core/client/less/mt.less @@ -47,3 +47,9 @@ } } } + +.cast-list { + .img-thumbnail { + padding: 1px !important; + } +} \ No newline at end of file diff --git a/modules/core/client/views/home.client.view.html b/modules/core/client/views/home.client.view.html index d98148bd..d31a4d7b 100644 --- a/modules/core/client/views/home.client.view.html +++ b/modules/core/client/views/home.client.view.html @@ -63,24 +63,24 @@
{{vm.movieinfo.overview}}
-
+
+ class="img-circle img-thumbnail img-responsive center-block" onload="this.style.opacity='1';"> {{vm.movieinfo.credits.cast[0].name}}
+ class="img-circle img-thumbnail img-responsive center-block" onload="this.style.opacity='1';"> {{vm.movieinfo.credits.cast[1].name}}
+ class="img-circle img-thumbnail img-responsive center-block" onload="this.style.opacity='1';"> {{vm.movieinfo.credits.cast[2].name}} @@ -88,21 +88,21 @@
+ class="img-circle img-thumbnail img-responsive center-block" onload="this.style.opacity='1';"> {{vm.movieinfo.credits.cast[3].name}}
+ class="img-circle img-thumbnail img-responsive center-block" onload="this.style.opacity='1';"> {{vm.movieinfo.credits.cast[4].name}}
+ class="img-circle img-thumbnail img-responsive center-block" onload="this.style.opacity='1';"> {{vm.movieinfo.credits.cast[5].name}} diff --git a/modules/torrents/client/views/uploads-torrents.client.view.html b/modules/torrents/client/views/uploads-torrents.client.view.html index f475e124..a3f219f9 100644 --- a/modules/torrents/client/views/uploads-torrents.client.view.html +++ b/modules/torrents/client/views/uploads-torrents.client.view.html @@ -77,7 +77,7 @@
- +
@@ -128,24 +128,24 @@
{{vm.movieinfo.overview}}
-
+
+ class="img-circle img-thumbnail img-responsive center-block"> {{vm.movieinfo.credits.cast[0].name}}

{{vm.movieinfo.credits.cast[0].character}}

+ class="img-circle img-thumbnail img-responsive center-block"> {{vm.movieinfo.credits.cast[1].name}}

{{vm.movieinfo.credits.cast[1].character}}

+ class="img-circle img-thumbnail img-responsive center-block"> {{vm.movieinfo.credits.cast[2].name}}

{{vm.movieinfo.credits.cast[2].character}}

@@ -153,21 +153,21 @@
+ class="img-circle img-thumbnail img-responsive center-block"> {{vm.movieinfo.credits.cast[3].name}}

{{vm.movieinfo.credits.cast[3].character}}

+ class="img-circle img-thumbnail img-responsive center-block"> {{vm.movieinfo.credits.cast[4].name}}

{{vm.movieinfo.credits.cast[4].character}}

+ class="img-circle img-thumbnail img-responsive center-block"> {{vm.movieinfo.credits.cast[5].name}}

{{vm.movieinfo.credits.cast[5].character}}