Skip to content
Snippets Groups Projects
Verified Commit 8a2052c0 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Smaller select for ref switcher

parent a843ee7e
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -57,6 +57,12 @@
max-width: 170px !important;
}
 
select.chosen {
min-width: 200px;
select {
&.chosen {
min-width: 200px;
}
&.chosen-sm {
min-width: 100px;
}
}
= 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
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment