Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MCR-3547] UI regression fix for MCCRS ID and State Contacts #2044

Merged
merged 12 commits into from
Nov 13, 2023
Original file line number Diff line number Diff line change
Expand Up @@ -43,23 +43,21 @@ export const ContactsSummarySection = ({
editNavigateTo={editNavigateTo}
/>

<GridContainer>
<GridContainer className="padding-left-0">
<Grid row>
<dl>
{submission.stateContacts.length > 0 ? (
submission.stateContacts.map(
(stateContact, index) => (
<Grid col={6} key={'statecontact_' + index}>
<DataDetail
id={'statecontact_' + index}
label={`Contact ${index + 1}`}
children={
<DataDetailContactField
contact={stateContact}
/>
}
/>
</Grid>
<DataDetail
id={'statecontact_' + index}
label={`Contact ${index + 1}`}
children={
<DataDetailContactField
contact={stateContact}
/>
}
/>
)
)
) : (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,16 @@
margin-top: 17.5px;
span {
font-weight: bold;
a {
display: inline;
margin-top: 0;

&.mccrsID a {
display: inline-block;
margin-left: 5px;
margin-top: 0px;

}

}
.editLink {
a.editLink {
margin-top: 0;
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ export const SubmissionSummary = (): React.ReactElement => {
isCMSUser ? (
<div className={styles.subHeader}>
{pkg.mccrsID && (
<span>
<span className={styles.mccrsID}>
MC-CRS record number:
<Link
href={`https://mccrs.abtsites.com/Home/Index/${pkg.mccrsID}`}
Expand Down
Loading