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
16ae5bc2
Commit
16ae5bc2
authored
Mar 02, 2021
by
Samantha Ming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make fork project form responsive
Part of issue:
https://gitlab.com/gitlab-org/gitlab/-/issues/15013
parent
8df8a48d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
+6
-5
app/assets/javascripts/pages/projects/forks/new/components/fork_form.vue
...scripts/pages/projects/forks/new/components/fork_form.vue
+5
-5
app/assets/stylesheets/utilities.scss
app/assets/stylesheets/utilities.scss
+1
-0
No files found.
app/assets/javascripts/pages/projects/forks/new/components/fork_form.vue
View file @
16ae5bc2
...
...
@@ -200,9 +200,9 @@ export default {
<gl-form-input
id=
"fork-name"
v-model=
"fork.name"
data-testid=
"fork-name-input"
required
/>
</gl-form-group>
<div
class=
"gl-display-flex"
>
<div
class=
"gl-
w
-half"
>
<gl-form-group
label=
"Project URL"
label-for=
"fork-url"
class=
"gl-
pr-2
"
>
<div
class=
"gl-
md-
display-flex"
>
<div
class=
"gl-
flex-basis
-half"
>
<gl-form-group
label=
"Project URL"
label-for=
"fork-url"
class=
"gl-
md-mr-3
"
>
<gl-form-input-group>
<template
#prepend
>
<gl-input-group-text>
...
...
@@ -225,8 +225,8 @@ export default {
</gl-form-input-group>
</gl-form-group>
</div>
<div
class=
"gl-
w
-half"
>
<gl-form-group
label=
"Project slug"
label-for=
"fork-slug"
class=
"gl-
pl-2
"
>
<div
class=
"gl-
flex-basis
-half"
>
<gl-form-group
label=
"Project slug"
label-for=
"fork-slug"
class=
"gl-
md-ml-3
"
>
<gl-form-input
id=
"fork-slug"
v-model=
"fork.slug"
...
...
app/assets/stylesheets/utilities.scss
View file @
16ae5bc2
...
...
@@ -117,6 +117,7 @@
flex-basis
:
25%
;
}
// Will be moved to @gitlab/ui in https://gitlab.com/gitlab-org/gitlab-ui/-/issues/1168
.gl-md-ml-3
{
@media
(
min-width
:
$breakpoint-md
)
{
margin-left
:
$gl-spacing-scale-3
;
...
...
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