Skip to content
Snippets Groups Projects
Commit ac840c99 authored by Sinzeanu Demetriad's avatar Sinzeanu Demetriad
Browse files

fix(ResponseToInvitation): Confirmation radio-buttons alignment on confirmation box

changed radio-button to be in the same row and aligned with the accept/decline options
parent c9d62643
No related branches found
No related tags found
2 merge requests!110Sprint 21 Features,!75fix(ResponseToInvitation): Confirmation radio-buttons alignment on confirmation box
...@@ -47,7 +47,18 @@ const ResponseToInvitation = ({ ...@@ -47,7 +47,18 @@ const ResponseToInvitation = ({
<Label required>{label}</Label> <Label required>{label}</Label>
<ValidatedField <ValidatedField
component={input => ( component={input => (
<RadioGroup inline name="decision" options={options} {...input} /> <Row alignItems="center" justify="space-between">
<RadioGroup inline name="decision" options={options} {...input} />
<Button
mb={1.7}
mr={2.6}
onClick={handleSubmit}
primary
size="medium"
>
{buttonLabel}
</Button>
</Row>
)} )}
name="decision" name="decision"
validate={[required]} validate={[required]}
...@@ -68,12 +79,6 @@ const ResponseToInvitation = ({ ...@@ -68,12 +79,6 @@ const ResponseToInvitation = ({
</Item> </Item>
</RowOverrideAlert> </RowOverrideAlert>
)} )}
<Row justify="flex-end" mb={1} pr={1}>
<Button onClick={handleSubmit} primary size="medium">
{buttonLabel}
</Button>
</Row>
</ContextualBox> </ContextualBox>
) )
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment