Fix header search bar in safari

This commit is contained in:
flaburgan 2014-04-03 22:46:11 +02:00
parent e4244f01f5
commit a9b9420214
2 changed files with 5 additions and 3 deletions

View file

@ -70,14 +70,17 @@ header {
-webkit-box-shadow: -2px 0px 2px 1px #333;
header {
position: static;
left: 100%;
right: -80%;
#global_search {
margin-left: 10px;
position: relative;
form {
margin-right: 20px;
position: absolute;
left: 5px;
right: 15px;
input {
@include box-shadow(0, 1px, 1px, #444);

View file

@ -76,7 +76,6 @@
%div
= hidden_field_tag "utf8", "✓"
= search_field_tag "q", nil, id: "q", placeholder: t("search"), results: "5", autocomplete: "off", class: "ac_input"
%nav
%ul
%li