Read about our upcoming Code of Conduct on this issue

Unverified Commit b11bcb8a authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Use default control for search field in header

Signed-off-by: default avatarDmitriy Zaporozhets <>
parent d3eb92da1930
......@@ -184,29 +184,17 @@ header {
padding: 4px 6px;
padding-left: 25px;
font-size: 13px;
@include border-radius(3px);
border: 1px solid #DDD;
box-shadow: none;
@include transition(all 0.15s ease-in 0s);
background-color: #f9f9f9;
.search .search-input {
width: 300px;
&:focus {
width: 330px;
background-color: #FFF;
@media (max-width: 1200px) {
.search .search-input {
width: 200px;
&:focus {
width: 230px;
= form_tag search_path, method: :get, class: 'navbar-form pull-left' do |f|
= search_field_tag "search", nil, placeholder: search_placeholder, class: "search-input"
= search_field_tag "search", nil, placeholder: search_placeholder, class: "search-input form-control"
= hidden_field_tag :group_id, @group.try(:id)
- if @project && @project.persisted?
= hidden_field_tag :project_id,
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment