Smaller select for ref switcher

Signed-off-by: NDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
上级 a843ee7e
...@@ -57,6 +57,12 @@ ...@@ -57,6 +57,12 @@
max-width: 170px !important; max-width: 170px !important;
} }
select.chosen { select {
min-width: 200px; &.chosen {
min-width: 200px;
}
&.chosen-sm {
min-width: 100px;
}
} }
= form_tag switch_project_refs_path(@project), method: :get, class: "project-refs-form" do = 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 = hidden_field_tag :destination, destination
- if defined?(path) - if defined?(path)
= hidden_field_tag :path, path = hidden_field_tag :path, path
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册