Skip to content

Commit 73fa47a

Browse files
authored
Truncate to 10 lines (#208)
* Truncate to 10 lines * Bumps
1 parent 0af9ef3 commit 73fa47a

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
### 2.13.5
4+
5+
- Truncate initiative descriptions to 10 lines
6+
37
### 2.12.4
48

59
- Performance improvements for the Bird's Eye report

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@cortexapps/backstage-plugin",
3-
"version": "2.13.4",
3+
"version": "2.13.5",
44
"main": "src/index.ts",
55
"types": "src/index.ts",
66
"license": "Apache-2.0",

src/components/Initiatives/InitiativeCard/InitiativeCard.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@ export const InitiativeCard = ({ initiative }: InitiativeCardProps) => {
3232
name={initiative.name}
3333
description={initiative.description}
3434
badges={[
35-
`Due ${moment.utc(initiative.targetDate)
36-
.format('dddd, MMMM Do YYYY')}`,
35+
`Due ${moment.utc(initiative.targetDate).format('dddd, MMMM Do YYYY')}`,
3736
]}
3837
url={initiativeRef({ id: `${initiative.id}` })}
38+
truncateToLines={10}
3939
/>
4040
);
4141
};

0 commit comments

Comments
 (0)