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
51a8ece0
Commit
51a8ece0
authored
Mar 19, 2019
by
Dennis Tang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Prevent namespace dropdown in new project form from exceeding container
parent
74ebeebb
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
7 deletions
+9
-7
app/assets/stylesheets/pages/projects.scss
app/assets/stylesheets/pages/projects.scss
+0
-3
app/views/projects/_new_project_fields.html.haml
app/views/projects/_new_project_fields.html.haml
+4
-4
changelogs/unreleased/59189-long-names-in-project-path-namespace-dropdown-breaks-past-container.yml
...project-path-namespace-dropdown-breaks-past-container.yml
+5
-0
No files found.
app/assets/stylesheets/pages/projects.scss
View file @
51a8ece0
...
@@ -18,12 +18,9 @@
...
@@ -18,12 +18,9 @@
}
}
.input-group
{
.input-group
{
display
:
flex
;
.select2-container
{
.select2-container
{
display
:
unset
;
display
:
unset
;
max-width
:
unset
;
max-width
:
unset
;
width
:
unset
!
important
;
flex-grow
:
1
;
flex-grow
:
1
;
}
}
...
...
app/views/projects/_new_project_fields.html.haml
View file @
51a8ece0
...
@@ -12,9 +12,9 @@
...
@@ -12,9 +12,9 @@
.form-group.project-path.col-sm-6
.form-group.project-path.col-sm-6
=
f
.
label
:namespace_id
,
class:
'label-bold'
do
=
f
.
label
:namespace_id
,
class:
'label-bold'
do
%span
=
s_
(
"Project URL"
)
%span
=
s_
(
"Project URL"
)
.input-group
.input-group
.flex-nowrap
-
if
current_user
.
can_select_namespace?
-
if
current_user
.
can_select_namespace?
.input-group-prepend.has-tooltip
{
title:
root_url
}
.input-group-prepend.
flex-shrink-0.
has-tooltip
{
title:
root_url
}
.input-group-text
.input-group-text
=
root_url
=
root_url
-
namespace_id
=
namespace_id_from
(
params
)
-
namespace_id
=
namespace_id_from
(
params
)
...
@@ -23,10 +23,10 @@
...
@@ -23,10 +23,10 @@
display_path:
true
,
display_path:
true
,
extra_group:
namespace_id
),
extra_group:
namespace_id
),
{},
{},
{
class:
'select2 js-select-namespace qa-project-namespace-select'
,
tabindex:
1
,
data:
{
track_label:
"
#{
track_label
}
"
,
track_event:
"activate_form_input"
,
track_property:
"project_path"
,
track_value:
""
}})
{
class:
'select2 js-select-namespace qa-project-namespace-select
block-truncated
'
,
tabindex:
1
,
data:
{
track_label:
"
#{
track_label
}
"
,
track_event:
"activate_form_input"
,
track_property:
"project_path"
,
track_value:
""
}})
-
else
-
else
.input-group-prepend.static-namespace.has-tooltip
{
title:
user_url
(
current_user
.
username
)
+
'/'
}
.input-group-prepend.static-namespace.
flex-shrink-0.
has-tooltip
{
title:
user_url
(
current_user
.
username
)
+
'/'
}
.input-group-text.border-0
.input-group-text.border-0
#{
user_url
(
current_user
.
username
)
}
/
#{
user_url
(
current_user
.
username
)
}
/
=
f
.
hidden_field
:namespace_id
,
value:
current_user
.
namespace_id
=
f
.
hidden_field
:namespace_id
,
value:
current_user
.
namespace_id
...
...
changelogs/unreleased/59189-long-names-in-project-path-namespace-dropdown-breaks-past-container.yml
0 → 100644
View file @
51a8ece0
---
title
:
Prevent namespace dropdown in new project form from exceeding container
merge_request
:
26343
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