summaryrefslogtreecommitdiff
path: root/app/views/shared/issuable/_label_dropdown.html.haml
diff options
context:
space:
mode:
authorAndrew Fontaine <afontaine@gitlab.com>2019-07-16 13:48:28 -0400
committerAndrew Fontaine <afontaine@gitlab.com>2019-07-16 16:07:41 -0400
commiteacef3fb07252ce4741a81376a350919def6bdd4 (patch)
tree66776871a489a42a948065d0644a8c8372c3853c /app/views/shared/issuable/_label_dropdown.html.haml
parentfb754a86b214ce6742a14d51fd06b5f1fa2ffa5f (diff)
downloadgitlab-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/shared/issuable/_label_dropdown.html.haml')
-rw-r--r--app/views/shared/issuable/_label_dropdown.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/shared/issuable/_label_dropdown.html.haml b/app/views/shared/issuable/_label_dropdown.html.haml
index 483652852b6..8386208043d 100644
--- a/app/views/shared/issuable/_label_dropdown.html.haml
+++ b/app/views/shared/issuable/_label_dropdown.html.haml
@@ -20,7 +20,7 @@
= hidden_field_tag data_options[:field_name], use_id ? label.try(:id) : label.try(:title), id: nil
.dropdown
- %button.dropdown-menu-toggle.js-label-select.js-multiselect.qa-issuable-label{ class: classes.join(' '), type: "button", data: dropdown_data }
+ %button.btn.btn-default.dropdown-menu-toggle.js-label-select.js-multiselect.qa-issuable-label{ class: classes.join(' '), type: "button", data: dropdown_data }
- apply_is_default_styles = (selected.nil? || selected.empty?) && !no_default_styles
%span.dropdown-toggle-text{ class: ("is-default" if apply_is_default_styles) }
= multi_label_name(selected, label_name)