Commit 3727d891 authored by Ridwan Amode's avatar Ridwan Amode
Browse files

ENSWBSITES-1037: fix gene name formatting under transcript

parent 3f4b56f4
Pipeline #149168 passed with stages
in 6 minutes and 39 seconds
......@@ -65,8 +65,8 @@
font-weight: $light;
}
.leftSpacing {
margin-left: 12px;
.geneSymbol {
margin-right: 12px;
}
......
......@@ -314,8 +314,8 @@ const TranscriptSummary = () => {
<div className={styles.label}>Gene</div>
<div className={styles.value}>
<div>
{gene.symbol && <span>{gene.symbol}</span>}
{gene.symbol !== stableId && <span className={styles.leftSpacing}>{gene.stable_id}</span>}
{gene.symbol && <span className={styles.geneSymbol}>{gene.symbol}</span>}
{gene.symbol !== stableId && <span>{gene.stable_id}</span>}
</div>
</div>
</div>
......
Markdown is supported
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