Merge branch 'winh-add-list-dropdown-height' into 'master'

Adjust height of "Add list" dropdown in issue boards

Closes #56077

See merge request gitlab-org/gitlab-ce!24227
This commit is contained in:
Clement Ho 2019-01-11 19:08:43 +00:00
commit 7e8712e299
4 changed files with 10 additions and 5 deletions

View File

@ -32,6 +32,10 @@
max-height: $dropdown-max-height;
overflow-y: auto;
&.dropdown-extended-height {
max-height: 400px;
}
@include media-breakpoint-down(xs) {
width: 100%;
}

View File

@ -29,10 +29,6 @@
.dropdown-menu-issues-board-new {
width: 320px;
.open & {
max-height: 400px;
}
.dropdown-content {
max-height: 162px;
}

View File

@ -1,7 +1,7 @@
.dropdown.prepend-left-10#js-add-list
%button.btn.btn-success.btn-inverted.js-new-board-list{ type: "button", data: board_list_data }
Add list
.dropdown-menu.dropdown-menu-paging.dropdown-menu-right.dropdown-menu-issues-board-new.dropdown-menu-selectable.js-tab-container-labels
.dropdown-menu.dropdown-extended-height.dropdown-menu-paging.dropdown-menu-right.dropdown-menu-issues-board-new.dropdown-menu-selectable.js-tab-container-labels
= render partial: "shared/issuable/label_page_default", locals: { show_footer: true, show_create: true, show_boards_content: true, title: "Add list" }
- if can?(current_user, :admin_label, board.parent)
= render partial: "shared/issuable/label_page_create"

View File

@ -0,0 +1,5 @@
---
title: Adjust height of "Add list" dropdown in issue boards
merge_request: 24227
author:
type: fixed