Tech radar timeline component formatting #19222
This commit is contained in:
Fredrik Adelöw
2023-09-12 12:18:33 +02:00
committed by GitHub
2 changed files with 7 additions and 2 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-tech-radar': patch
---
Fixed `RadarTimeline` text formatting.
@@ -76,10 +76,10 @@ const RadarTimeline = (props: Props): JSX.Element => {
''
)}
</TableCell>
<TableCell align="left">
<TableCell align="left" style={{ whiteSpace: 'nowrap' }}>
{timeEntry.ring.name ? timeEntry.ring.name : ''}
</TableCell>
<TableCell align="left">
<TableCell align="left" style={{ whiteSpace: 'nowrap' }}>
{timeEntry.date.toLocaleDateString()
? timeEntry.date.toLocaleDateString()
: ''}