Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
scratch-www
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
scratch-www
Commits
39364eac
Unverified
Commit
39364eac
authored
Oct 25, 2018
by
Paul Kaplan
Committed by
GitHub
Oct 25, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2238 from paulkaplan/fix-form-styling
Fix form styling for project edit fields
parents
d9fa1031
f133f293
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
2 deletions
+14
-2
src/views/preview/presentation.jsx
src/views/preview/presentation.jsx
+8
-2
src/views/preview/preview.scss
src/views/preview/preview.scss
+6
-0
No files found.
src/views/preview/presentation.jsx
View file @
39364eac
...
...
@@ -219,7 +219,10 @@ const PreviewPresentation = ({
<
FormattedMessage
id=
"project.instructionsLabel"
/>
</
div
>
{
editable
?
<
Formsy
onKeyPress=
{
onKeyPress
}
>
<
Formsy
className=
"project-description-form"
onKeyPress=
{
onKeyPress
}
>
<
InplaceInput
className=
{
classNames
(
'
project-description-edit
'
,
...
...
@@ -252,7 +255,10 @@ const PreviewPresentation = ({
<
FormattedMessage
id=
"project.notesAndCreditsLabel"
/>
</
div
>
{
editable
?
<
Formsy
onKeyPress=
{
onKeyPress
}
>
<
Formsy
className=
"project-description-form"
onKeyPress=
{
onKeyPress
}
>
<
InplaceInput
className=
{
classNames
(
'
project-description-edit
'
,
...
...
src/views/preview/preview.scss
View file @
39364eac
...
...
@@ -337,6 +337,12 @@ $stage-width: 480px;
margin-bottom
:
0
;
}
.project-description-form
{
display
:
flex
;
width
:
100%
;
flex-grow
:
1
;
}
.project-description-edit
{
display
:
flex
;
margin-bottom
:
.75rem
;
...
...
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