fix: remove banner url_for() & fix search input height under Internet Explorer
This commit is contained in:
parent
3abd31f31b
commit
ad5f6ce2d3
|
@ -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" />
|
||||
<% } %>
|
||||
<% } %>
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue