diff options
author | Andrew Fontaine <afontaine@gitlab.com> | 2019-07-16 13:48:28 -0400 |
---|---|---|
committer | Andrew Fontaine <afontaine@gitlab.com> | 2019-07-16 16:07:41 -0400 |
commit | eacef3fb07252ce4741a81376a350919def6bdd4 (patch) | |
tree | 66776871a489a42a948065d0644a8c8372c3853c /app/views/search/_filter.html.haml | |
parent | fb754a86b214ce6742a14d51fd06b5f1fa2ffa5f (diff) | |
download | gitlab-ce-eacef3fb07252ce4741a81376a350919def6bdd4.tar.gz |
Style Dropdown Buttons with New Button Stylesstyle-dropdown-buttons
These dropdown buttons were missing the `btn` class, and were missing
the new button styles.
Diffstat (limited to 'app/views/search/_filter.html.haml')
-rw-r--r-- | app/views/search/_filter.html.haml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/search/_filter.html.haml b/app/views/search/_filter.html.haml index c8b6a3258ab..f5613f8ac8f 100644 --- a/app/views/search/_filter.html.haml +++ b/app/views/search/_filter.html.haml @@ -3,7 +3,7 @@ - if params[:project_id].present? = hidden_field_tag :project_id, params[:project_id] .dropdown - %button.dropdown-menu-toggle.js-search-group-dropdown{ type: "button", data: { toggle: "dropdown", default_label: _('Group:'), group_id: params[:group_id] } } + %button.btn.btn-default.dropdown-menu-toggle.js-search-group-dropdown{ type: "button", data: { toggle: "dropdown", default_label: _('Group:'), group_id: params[:group_id] } } %span.dropdown-toggle-text = _("Group:") - if @group.present? @@ -18,7 +18,7 @@ = dropdown_loading .dropdown.project-filter - %button.dropdown-menu-toggle.js-search-project-dropdown{ type: "button", data: { toggle: "dropdown", default_label: _('Project:') } } + %button.btn.btn-default.dropdown-menu-toggle.js-search-project-dropdown{ type: "button", data: { toggle: "dropdown", default_label: _('Project:') } } %span.dropdown-toggle-text = _("Project:") - if @project.present? |