Smaller select for ref switcher

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
Dmitriy Zaporozhets 2014-01-01 23:13:54 +02:00
parent a843ee7ece
commit 8a2052c0ed
No known key found for this signature in database
GPG Key ID: 627C5F589F467F17
2 changed files with 9 additions and 3 deletions

View File

@ -57,6 +57,12 @@
max-width: 170px !important;
}
select.chosen {
min-width: 200px;
select {
&.chosen {
min-width: 200px;
}
&.chosen-sm {
min-width: 100px;
}
}

View File

@ -1,5 +1,5 @@
= form_tag switch_project_refs_path(@project), method: :get, class: "project-refs-form" do
= select_tag "ref", grouped_options_refs, class: "project-refs-select chosen"
= select_tag "ref", grouped_options_refs, class: "project-refs-select chosen chosen-sm"
= hidden_field_tag :destination, destination
- if defined?(path)
= hidden_field_tag :path, path