Fix header search bar in safari
This commit is contained in:
parent
e4244f01f5
commit
a9b9420214
2 changed files with 5 additions and 3 deletions
|
|
@ -70,14 +70,17 @@ header {
|
||||||
-webkit-box-shadow: -2px 0px 2px 1px #333;
|
-webkit-box-shadow: -2px 0px 2px 1px #333;
|
||||||
|
|
||||||
header {
|
header {
|
||||||
|
position: static;
|
||||||
left: 100%;
|
left: 100%;
|
||||||
right: -80%;
|
right: -80%;
|
||||||
|
|
||||||
#global_search {
|
#global_search {
|
||||||
margin-left: 10px;
|
position: relative;
|
||||||
|
|
||||||
form {
|
form {
|
||||||
margin-right: 20px;
|
position: absolute;
|
||||||
|
left: 5px;
|
||||||
|
right: 15px;
|
||||||
|
|
||||||
input {
|
input {
|
||||||
@include box-shadow(0, 1px, 1px, #444);
|
@include box-shadow(0, 1px, 1px, #444);
|
||||||
|
|
|
||||||
|
|
@ -76,7 +76,6 @@
|
||||||
%div
|
%div
|
||||||
= hidden_field_tag "utf8", "✓"
|
= hidden_field_tag "utf8", "✓"
|
||||||
= search_field_tag "q", nil, id: "q", placeholder: t("search"), results: "5", autocomplete: "off", class: "ac_input"
|
= search_field_tag "q", nil, id: "q", placeholder: t("search"), results: "5", autocomplete: "off", class: "ac_input"
|
||||||
|
|
||||||
%nav
|
%nav
|
||||||
%ul
|
%ul
|
||||||
%li
|
%li
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue