Commit 7e8712e2 authored by Clement Ho's avatar Clement Ho

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
parents fe4f8cad 1daa2c4a
...@@ -32,6 +32,10 @@ ...@@ -32,6 +32,10 @@
max-height: $dropdown-max-height; max-height: $dropdown-max-height;
overflow-y: auto; overflow-y: auto;
&.dropdown-extended-height {
max-height: 400px;
}
@include media-breakpoint-down(xs) { @include media-breakpoint-down(xs) {
width: 100%; width: 100%;
} }
......
...@@ -29,10 +29,6 @@ ...@@ -29,10 +29,6 @@
.dropdown-menu-issues-board-new { .dropdown-menu-issues-board-new {
width: 320px; width: 320px;
.open & {
max-height: 400px;
}
.dropdown-content { .dropdown-content {
max-height: 162px; max-height: 162px;
} }
......
.dropdown.prepend-left-10#js-add-list .dropdown.prepend-left-10#js-add-list
%button.btn.btn-success.btn-inverted.js-new-board-list{ type: "button", data: board_list_data } %button.btn.btn-success.btn-inverted.js-new-board-list{ type: "button", data: board_list_data }
Add list 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" } = 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) - if can?(current_user, :admin_label, board.parent)
= render partial: "shared/issuable/label_page_create" = render partial: "shared/issuable/label_page_create"
......
---
title: Adjust height of "Add list" dropdown in issue boards
merge_request: 24227
author:
type: fixed
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment