Fixed site portrait in news feed sidebar

This commit is contained in:
Victoria Wang 2014-10-15 19:04:57 -07:00
parent 570db1211b
commit 1c2433c670
2 changed files with 7 additions and 2 deletions

View file

@ -448,6 +448,11 @@
.large-portrait {
border: 10px solid white;
@include box-shadow(1px 1px 2px 1px rgba(0, 0, 0, 0.15));
width: 322px;
height: 241px;
background-size: cover;
float: left;
margin-bottom: 20px;
}
.site-portrait {
border: 5px solid white;

View file

@ -90,9 +90,9 @@
</div>
</div>
<a href="//<%= site.host %>"><img src="<%= site.screenshot_url('index.html', '540x405') %>" class="large-portrait"></a>
<a href="//<%= site.host %>" class="large-portrait" style="background-image:url(<%= site.screenshot_url('index.html', '540x405') %>);"></a>
<div style="margin-top: 20px; margin-bottom: 20px" class="txt-Center">
<div style="margin-top: 20px; margin-bottom: 2em" class="txt-Center">
<a href="/site/<%= site.username %>" class="btn-Action">View Site Profile</a>
</div>