fix: remove banner url_for() & fix search input height under Internet Explorer

This commit is contained in:
ppoffice 2016-04-19 18:25:49 +08:00
parent 3abd31f31b
commit ad5f6ce2d3
2 changed files with 4 additions and 4 deletions

View File

@ -1,14 +1,14 @@
<% if (post.link) { %>
<a href="<%- url_for(post.link) %>" target="_blank" itemprop="url">
<img src="<%- url_for(post.banner) %>" class="article-banner" />
<img src="<%- post.banner %>" class="article-banner" />
</a>
<% } else if (post.title) { %>
<% if (index) { %>
<a href="<%- url_for(post.path) %>" itemprop="url">
<img src="<%- url_for(post.banner) %>" class="article-banner" />
<img src="<%- post.banner %>" class="article-banner" />
</a>
<% } else { %>
<img src="<%- url_for(post.banner) %>" class="article-banner" />
<img src="<%- post.banner %>" class="article-banner" />
<% } %>
<% } %>

View File

@ -129,9 +129,9 @@ $nav-link
position: relative
.search-form-input
width: 100%
height: logo-height
padding: 0 30px 0 15px
line-height: logo-height
height: logo-height !important
border-radius: ((logo-height + 2)/2)
&::-webkit-search-results-decoration
&::-webkit-search-cancel-button