Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
gitlab-ce
Commits
1daa2c4a
Commit
1daa2c4a
authored
Jan 08, 2019
by
Winnie Hellmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adjust height of "Add list" dropdown in issue boards
parent
81aacf9c
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
5 deletions
+10
-5
app/assets/stylesheets/framework/dropdowns.scss
app/assets/stylesheets/framework/dropdowns.scss
+4
-0
app/assets/stylesheets/pages/boards.scss
app/assets/stylesheets/pages/boards.scss
+0
-4
app/views/shared/issuable/_board_create_list_dropdown.html.haml
...ews/shared/issuable/_board_create_list_dropdown.html.haml
+1
-1
changelogs/unreleased/winh-add-list-dropdown-height.yml
changelogs/unreleased/winh-add-list-dropdown-height.yml
+5
-0
No files found.
app/assets/stylesheets/framework/dropdowns.scss
View file @
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%
;
}
}
...
...
app/assets/stylesheets/pages/boards.scss
View file @
1daa2c4a
...
@@ -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
;
}
}
...
...
app/views/shared/issuable/_board_create_list_dropdown.html.haml
View file @
1daa2c4a
.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"
...
...
changelogs/unreleased/winh-add-list-dropdown-height.yml
0 → 100644
View file @
1daa2c4a
---
title
:
Adjust height of "Add list" dropdown in issue boards
merge_request
:
24227
author
:
type
:
fixed
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment