Fix responsive poster

This commit is contained in:
Surinam 2018-04-17 23:03:11 +03:00
parent 72c18c8acb
commit 8c6366f2b3
8 changed files with 8 additions and 8 deletions

View File

@ -72,7 +72,7 @@
<div class="col-xs-3 item">
<a href="<%- movie.url %>">
<img src="<%- movie.poster %>" class="img-responsive" style="width: 100%; height: 250px" alt="<%= movie.title %>" title="<%= movie.title %>">
<div style="width:100%;height:250px;background: url('<%- movie.poster %>') center no-repeat;background-size: cover;" title="<%= movie.title %>"></div>
</a>
<span class="label label-danger"><% if (movie.season && movie.episode) { %><%- movie.season %> сезон <%- movie.episode %> серия<% } else { %><%- movie.year %><% } %></span>

View File

@ -155,7 +155,7 @@
<div class="col-xs-3 item">
<a href="<%- movie.url %>">
<img src="<%- movie.poster %>" class="img-responsive" style="width: 100%; height: 250px" alt="<%= movie.title %>" title="<%= movie.title %>">
<div style="width:100%;height:250px;background: url('<%- movie.poster %>') center no-repeat;background-size: cover;" title="<%= movie.title %>"></div>
</a>
<div class="info">

View File

@ -159,7 +159,7 @@
<div class="col-xs-3 item">
<a href="<%- movie.url %>">
<img src="<%- movie.poster %>" class="img-responsive" style="width: 100%; height: 250px" alt="<%= movie.title %>" title="<%= movie.title %>">
<div style="width:100%;height:250px;background: url('<%- movie.poster %>') center no-repeat;background-size: cover;" title="<%= movie.title %>"></div>
</a>
<div class="info">

View File

@ -36,7 +36,7 @@
<div class="col-xs-3 item">
<a href="<%- movie.url %>">
<img src="<%- movie.poster %>" class="img-responsive" style="width: 100%; height: 250px" alt="<%= movie.title %>" title="<%= movie.title %>">
<div style="width:100%;height:250px;background: url('<%- movie.poster %>') center no-repeat;background-size: cover;" title="<%= movie.title %>"></div>
</a>
<span class="label label-danger"><% if (movie.season && movie.episode) { %><%- movie.season %> сезон <%- movie.episode %> серия<% } else { %><%- movie.year %><% } %></span>

View File

@ -165,7 +165,7 @@
<div class="col-xs-3 item">
<a href="<%- movie.url %>">
<img src="<%- movie.poster %>" class="img-responsive" style="width: 100%; height: 250px" alt="<%= movie.title %>" title="<%= movie.title %>">
<div style="width:100%;height:250px;background: url('<%- movie.poster %>') center no-repeat;background-size: cover;" title="<%= movie.title %>"></div>
</a>
<div class="info">

View File

@ -159,7 +159,7 @@
<div class="col-xs-3 item">
<a href="<%- movie.url %>">
<img src="<%- movie.poster %>" class="img-responsive" style="width: 100%; height: 250px" alt="<%= movie.title %>" title="<%= movie.title %>">
<div style="width:100%;height:250px;background: url('<%- movie.poster %>') center no-repeat;background-size: cover;" title="<%= movie.title %>"></div>
</a>
<div class="info">

View File

@ -137,7 +137,7 @@
<div class="col-xs-3 item">
<a href="<%- movie.url %>">
<img src="<%- movie.poster %>" class="img-responsive" style="width: 100%; height: 250px" alt="<%= movie.title %>" title="<%= movie.title %>">
<div style="width:100%;height:250px;background: url('<%- movie.poster %>') center no-repeat;background-size: cover;" title="<%= movie.title %>"></div>
</a>
<div class="info">

View File

@ -155,7 +155,7 @@
<div class="col-xs-3 item">
<a href="<%- movie.url %>">
<img src="<%- movie.poster %>" class="img-responsive" style="width: 100%; height: 250px" alt="<%= movie.title %>" title="<%= movie.title %>">
<div style="width:100%;height:250px;background: url('<%- movie.poster %>') center no-repeat;background-size: cover;" title="<%= movie.title %>"></div>
</a>
<div class="info">