12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- commit ad5f6ce2d3c87d388e1e5673424d48c25822fa85
- Author: ppoffice <ppoffice_2008@163.com>
- Date: Tue Apr 19 18:25:49 2016 +0800
- fix: remove banner url_for() & fix search input height under Internet Explorer
- diff --git a/layout/common/post/banner.ejs b/layout/common/post/banner.ejs
- index f64a1b2..5e9b552 100644
- --- a/layout/common/post/banner.ejs
- +++ b/layout/common/post/banner.ejs
- @@ -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" />
- <% } %>
- <% } %>
-
- diff --git a/source/css/_partial/header.styl b/source/css/_partial/header.styl
- index e2a24e2..f61471f 100644
- --- a/source/css/_partial/header.styl
- +++ b/source/css/_partial/header.styl
- @@ -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
|