Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
X
xpub-faraday
Manage
Activity
Members
Labels
Plan
Issues
2
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Container Registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
xpub
xpub-faraday
Commits
1cf9a415
Commit
1cf9a415
authored
6 years ago
by
Bogdan Cochior
Browse files
Options
Downloads
Patches
Plain Diff
style(submission): fix error for dropdown menu
parent
530509e8
No related branches found
No related tags found
1 merge request
!43
Sprint #19
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
packages/component-wizard/src/components/StepTwo.js
+15
-9
15 additions, 9 deletions
packages/component-wizard/src/components/StepTwo.js
with
15 additions
and
9 deletions
packages/component-wizard/src/components/StepTwo.js
+
15
−
9
View file @
1cf9a415
import
React
from
'
react
'
import
React
,
{
Fragment
}
from
'
react
'
import
{
get
}
from
'
lodash
'
import
{
get
}
from
'
lodash
'
import
{
Field
}
from
'
redux-form
'
import
{
Field
}
from
'
redux-form
'
import
{
Tooltip
}
from
'
react-tippy
'
import
{
Tooltip
}
from
'
react-tippy
'
...
@@ -28,7 +28,7 @@ const StepTwo = ({
...
@@ -28,7 +28,7 @@ const StepTwo = ({
manuscriptTypes
,
manuscriptTypes
,
...
rest
...
rest
})
=>
(
})
=>
(
<
Roo
t
>
<
Fragmen
t
>
<
Row
alignItems
=
"
center
"
mb
=
{
1
}
>
<
Row
alignItems
=
"
center
"
mb
=
{
1
}
>
<
H2
>
2
.
Manuscript
&
Author
Details
<
/H2
>
<
H2
>
2
.
Manuscript
&
Author
Details
<
/H2
>
<
/Row
>
<
/Row
>
...
@@ -49,7 +49,7 @@ const StepTwo = ({
...
@@ -49,7 +49,7 @@ const StepTwo = ({
validate
=
{[
required
]}
validate
=
{[
required
]}
/
>
/
>
<
/Item
>
<
/Item
>
<
Item
data
-
test
-
id
=
"
submission-type
"
vertical
>
<
Item
OverrideAlert
data
-
test
-
id
=
"
submission-type
"
vertical
>
<
Label
required
>
MANUSCRIPT
TYPE
<
/Label
>
<
Label
required
>
MANUSCRIPT
TYPE
<
/Label
>
<
ValidatedField
<
ValidatedField
component
=
{
input
=>
(
component
=
{
input
=>
(
...
@@ -62,10 +62,10 @@ const StepTwo = ({
...
@@ -62,10 +62,10 @@ const StepTwo = ({
name
=
"
metadata.type
"
name
=
"
metadata.type
"
validate
=
{[
required
]}
validate
=
{[
required
]}
/
>
/
>
<
/Item
>
<
/Item
OverrideAlert
>
<
/Row
>
<
/Row
>
<
Row
mb
=
{
2
}
>
<
Row
OverrideAlert
mb
=
{
2
}
>
<
Item
data
-
test
-
id
=
"
submission-abstract
"
vertical
>
<
Item
data
-
test
-
id
=
"
submission-abstract
"
vertical
>
<
Label
required
>
ABSTRACT
<
/Label
>
<
Label
required
>
ABSTRACT
<
/Label
>
<
ValidatedField
<
ValidatedField
...
@@ -75,7 +75,7 @@ const StepTwo = ({
...
@@ -75,7 +75,7 @@ const StepTwo = ({
validate
=
{[
required
]}
validate
=
{[
required
]}
/
>
/
>
<
/Item
>
<
/Item
>
<
/Row
>
<
/Row
OverrideAlert
>
<
Field
component
=
{
Empty
}
name
=
"
authors
"
/>
<
Field
component
=
{
Empty
}
name
=
"
authors
"
/>
<
WizardAuthors
<
WizardAuthors
...
@@ -124,7 +124,7 @@ const StepTwo = ({
...
@@ -124,7 +124,7 @@ const StepTwo = ({
<
/Item
>
<
/Item
>
<
/Row
>
<
/Row
>
)}
)}
<
/
Roo
t
>
<
/
Fragmen
t
>
)
)
export
default
StepTwo
export
default
StepTwo
...
@@ -146,8 +146,14 @@ const ConflictsTooltip = () => (
...
@@ -146,8 +146,14 @@ const ConflictsTooltip = () => (
// #region styled-components
// #region styled-components
const
Root
=
styled
.
div
`
const
RowOverrideAlert
=
styled
(
Row
)
`
textarea + div[role='alert'] {
div[role='alert'] {
margin-top: 0;
}
`
const
ItemOverrideAlert
=
styled
(
Item
)
`
div[role='alert'] {
margin-top: 0;
margin-top: 0;
}
}
`
`
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment