diff --git a/app/assets/stylesheets/generic/selects.scss b/app/assets/stylesheets/generic/selects.scss index 3253014..ccc825f 100644 --- a/app/assets/stylesheets/generic/selects.scss +++ b/app/assets/stylesheets/generic/selects.scss @@ -57,6 +57,12 @@ max-width: 170px !important; } -select.chosen { - min-width: 200px; +select { + &.chosen { + min-width: 200px; + } + + &.chosen-sm { + min-width: 100px; + } } diff --git a/app/views/shared/_ref_switcher.html.haml b/app/views/shared/_ref_switcher.html.haml index dc8c656..e02b615 100644 --- a/app/views/shared/_ref_switcher.html.haml +++ b/app/views/shared/_ref_switcher.html.haml @@ -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 -- libgit2 0.21.2