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

Break the RNASeq links into new lines #3511

Merged
merged 2 commits into from
Jul 26, 2023
Merged

Break the RNASeq links into new lines #3511

merged 2 commits into from
Jul 26, 2023

Conversation

ShifaSZ
Copy link
Contributor

@ShifaSZ ShifaSZ commented Jul 25, 2023

Break the ExchangeMatching and the RNAseq links into different lines, and keep the spacing consistent.

Before:

After:

<Link to={`/project/${individual.projectGuid}/family_page/${individual.familyGuid}/matchmaker_exchange`}>
<Link
to={`/project/${individual.projectGuid}/family_page/${individual.familyGuid}/matchmaker_exchange`}
style={BREAK_LINE_STYLING}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we do not use the style prop, we use styled components, unless there is an overwhelming compelling reason to do otherwise

const MmeStatusLabel = React.memo(({ title, dateField, color, individual, mmeSubmission }) => (
<Link to={`/project/${individual.projectGuid}/family_page/${individual.familyGuid}/matchmaker_exchange`}>
<Link
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why not just wrap it in a div?

@ShifaSZ ShifaSZ merged commit 57c72c7 into dev Jul 26, 2023
4 checks passed
@ShifaSZ ShifaSZ deleted the rnaseq-link-new-line branch July 26, 2023 20:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants