Fix responsive poster
This commit is contained in:
parent
72c18c8acb
commit
8c6366f2b3
|
@ -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>
|
||||
|
|
|
@ -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">
|
||||
|
|
|
@ -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">
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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">
|
||||
|
|
|
@ -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">
|
||||
|
|
|
@ -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">
|
||||
|
|
|
@ -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">
|
||||
|
|
Loading…
Reference in New Issue