summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnnabel Gray <annabel.m.gray@gmail.com>2018-06-05 21:15:07 +0000
committerAnnabel Gray <annabel.m.gray@gmail.com>2018-06-05 21:15:07 +0000
commitb8bc25d9160fb3d0091bbe2b4a744f6558907ddd (patch)
treef126f7aa87df6d9d6cbb049a540acda7a6a69faa
parent6ed5cd1c2b667eecae54ef94fd274adf39958c1d (diff)
downloadgitlab-ce-b8bc25d9160fb3d0091bbe2b4a744f6558907ddd.tar.gz
Revert "Merge branch 'jivl-fix-labels-page' into 'master'"
This reverts merge request !19383
-rw-r--r--app/assets/stylesheets/pages/labels.scss8
-rw-r--r--app/views/projects/labels/index.html.haml2
2 files changed, 1 insertions, 9 deletions
diff --git a/app/assets/stylesheets/pages/labels.scss b/app/assets/stylesheets/pages/labels.scss
index 25f011a534b..e178371d21f 100644
--- a/app/assets/stylesheets/pages/labels.scss
+++ b/app/assets/stylesheets/pages/labels.scss
@@ -196,10 +196,6 @@
.prioritized-labels {
margin-bottom: 30px;
- h5 {
- font-size: $gl-font-size;
- }
-
.add-priority {
display: none;
color: $gray-light;
@@ -214,10 +210,6 @@
}
.other-labels {
- h5 {
- font-size: $gl-font-size;
- }
-
.remove-priority {
display: none;
}
diff --git a/app/views/projects/labels/index.html.haml b/app/views/projects/labels/index.html.haml
index 1f183c274be..9c78bade254 100644
--- a/app/views/projects/labels/index.html.haml
+++ b/app/views/projects/labels/index.html.haml
@@ -22,7 +22,7 @@
-# Only show it in the first page
- hide = @available_labels.empty? || (params[:page].present? && params[:page] != '1')
.prioritized-labels{ class: ('hide' if hide) }
- %h5.prepend-top-10 Prioritized Labels
+ %h5 Prioritized Labels
%ul.content-list.manage-labels-list.js-prioritized-labels{ "data-url" => set_priorities_project_labels_path(@project) }
#js-priority-labels-empty-state{ class: "#{'hidden' unless @prioritized_labels.empty?}" }
= render 'shared/empty_states/priority_labels'