From ad5f6ce2d3c87d388e1e5673424d48c25822fa85 Mon Sep 17 00:00:00 2001 From: ppoffice Date: Tue, 19 Apr 2016 18:25:49 +0800 Subject: [PATCH] fix: remove banner url_for() & fix search input height under Internet Explorer --- layout/common/post/banner.ejs | 6 +++--- source/css/_partial/header.styl | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) 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) { %> <% } else if (post.title) { %> <% if (index) { %> <% } else { %> - + <% } %> <% } %> 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