diff options
author | Alfredo Sumaran <alfredo@gitlab.com> | 2016-04-26 14:57:53 -0500 |
---|---|---|
committer | Alfredo Sumaran <alfredo@gitlab.com> | 2016-06-03 17:10:20 -0500 |
commit | eccc1f5911ce686ca6d5ce32c7f25aa1f905609a (patch) | |
tree | c0901f80b89642753f634b30cefe84eac82efb1b | |
parent | 6974d970b40af6b01e14941314a09d250d87c8d3 (diff) | |
download | gitlab-ce-eccc1f5911ce686ca6d5ce32c7f25aa1f905609a.tar.gz |
Update classname for indeterminate state
-rw-r--r-- | app/assets/javascripts/labels_select.js.coffee | 2 | ||||
-rw-r--r-- | app/assets/stylesheets/framework/dropdowns.scss | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/app/assets/javascripts/labels_select.js.coffee b/app/assets/javascripts/labels_select.js.coffee index da2c85967df..6a3c8de3009 100644 --- a/app/assets/javascripts/labels_select.js.coffee +++ b/app/assets/javascripts/labels_select.js.coffee @@ -205,7 +205,7 @@ class @LabelsSelect if $dropdown.hasClass('js-filter-bulk-update') indeterminate = instance.indeterminateIds if indeterminate.indexOf(label.id) isnt -1 - selectedClass.push 'indeterminate' + selectedClass.push 'is-indeterminate' if $form.find("input[type='hidden']\ [name='#{$dropdown.data('fieldName')}']\ diff --git a/app/assets/stylesheets/framework/dropdowns.scss b/app/assets/stylesheets/framework/dropdowns.scss index 6ef0405c7e7..d18d00c1e5e 100644 --- a/app/assets/stylesheets/framework/dropdowns.scss +++ b/app/assets/stylesheets/framework/dropdowns.scss @@ -232,7 +232,7 @@ a { padding-left: 25px; - &.indeterminate, &.is-active{ + &.is-indeterminate, &.is-active{ &::before { position: absolute; left: 5px; @@ -246,7 +246,7 @@ } } - &.indeterminate::before { + &.is-indeterminate::before { content: "\f068"; } |