diff options
author | Clement Ho <ClemMakesApps@gmail.com> | 2018-06-05 04:23:40 +0300 |
---|---|---|
committer | Clement Ho <ClemMakesApps@gmail.com> | 2018-06-05 04:23:40 +0300 |
commit | bc7dbfdc5d88a2e78239bdf481b7b52e03e890b6 (patch) | |
tree | c305b362a7a99227768f5fdad9e03cbaf3de1d2d /app | |
parent | 5a855b28374b5422fd764d3bcabbf0577a3c4571 (diff) |
Backport of Resolve "Epics Page Styling is broken"
Diffstat (limited to 'app')
-rw-r--r-- | app/assets/javascripts/vue_shared/components/sidebar/labels_select/dropdown_value.vue | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/app/assets/javascripts/vue_shared/components/sidebar/labels_select/dropdown_value.vue b/app/assets/javascripts/vue_shared/components/sidebar/labels_select/dropdown_value.vue index 69d588eb25d..88360b46f24 100644 --- a/app/assets/javascripts/vue_shared/components/sidebar/labels_select/dropdown_value.vue +++ b/app/assets/javascripts/vue_shared/components/sidebar/labels_select/dropdown_value.vue @@ -35,7 +35,12 @@ export default { </script> <template> - <div class="hide-collapsed value issuable-show-labels js-value"> + <div + class="hide-collapsed value issuable-show-labels js-value" + :class="{ + 'has-labels':!isEmpty, + }" + > <span v-if="isEmpty" class="text-secondary" @@ -50,7 +55,7 @@ export default { > <span v-tooltip - class="label color-label" + class="badge color-label" data-placement="bottom" data-container="body" :style="labelStyle(label)" |