diff options
author | Annabel Gray <annabel.m.gray@gmail.com> | 2018-06-04 21:42:01 +0000 |
---|---|---|
committer | Annabel Gray <annabel.m.gray@gmail.com> | 2018-06-04 21:42:01 +0000 |
commit | e264046c595704f8004a0b8442eec3d2cbb1c75b (patch) | |
tree | a12091755320184c3ef339c34a8460c43c865daa | |
parent | 8f6f8de99d64e728e25f5cd63d991152811971e3 (diff) | |
parent | 9f9764ee47fe889a2552c534c7840634c7c4729a (diff) | |
download | gitlab-ce-e264046c595704f8004a0b8442eec3d2cbb1c75b.tar.gz |
Merge branch 'jivl-fix-labels-page' into 'master'
Fix labels page missing margins and oversized fonts
Closes #46706
See merge request gitlab-org/gitlab-ce!19383
-rw-r--r-- | app/assets/stylesheets/pages/labels.scss | 8 | ||||
-rw-r--r-- | app/views/projects/labels/index.html.haml | 2 |
2 files changed, 9 insertions, 1 deletions
diff --git a/app/assets/stylesheets/pages/labels.scss b/app/assets/stylesheets/pages/labels.scss index e178371d21f..25f011a534b 100644 --- a/app/assets/stylesheets/pages/labels.scss +++ b/app/assets/stylesheets/pages/labels.scss @@ -196,6 +196,10 @@ .prioritized-labels { margin-bottom: 30px; + h5 { + font-size: $gl-font-size; + } + .add-priority { display: none; color: $gray-light; @@ -210,6 +214,10 @@ } .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 9c78bade254..1f183c274be 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 Prioritized Labels + %h5.prepend-top-10 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' |