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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
590a2035
Commit
590a2035
authored
Aug 11, 2017
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed height of group share dropdown
Closes
https://gitlab.com/gitlab-org/gitlab-ee/issues/3149
parent
fbd226ae
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
app/assets/javascripts/groups_select.js
app/assets/javascripts/groups_select.js
+1
-2
No files found.
app/assets/javascripts/groups_select.js
View file @
590a2035
...
...
@@ -111,8 +111,7 @@ window.GroupsSelect = (function() {
};
GroupsSelect
.
prototype
.
forceOverflow
=
function
(
e
)
{
const
itemHeight
=
this
.
dropdown
.
querySelector
(
'
.select2-result:first-child
'
).
clientHeight
;
this
.
dropdown
.
style
.
height
=
`
${
Math
.
floor
(
this
.
dropdown
.
scrollHeight
-
(
itemHeight
*
0.9
))}
px`
;
this
.
dropdown
.
style
.
height
=
`
${
Math
.
floor
(
this
.
dropdown
.
scrollHeight
)}
px`
;
};
GroupsSelect
.
PER_PAGE
=
20
;
...
...
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