Skip to content

Commit f15854c

Browse files
fix: Fix long audit log string (#4931)
1 parent 5f099ea commit f15854c

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

site/src/components/AuditLogRow/AuditLogDiff.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ const useStyles = makeStyles((theme) => ({
8989
paddingRight: theme.spacing(2),
9090
lineHeight: "160%",
9191
alignSelf: "stretch",
92+
overflowWrap: "anywhere",
9293
},
9394

9495
diffOld: {

site/src/components/AuditLogRow/AuditLogRow.stories.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ WithLongDiffRow.args = {
5353
diff: {
5454
...MockAuditLog2.diff,
5555
icon: {
56-
old: "https://www.docker.com/wp-content/uploads/2022/03/Moby-logo.png",
57-
new: "https://www.docker.com/wp-content/uploads/2022/03/vertical-logo-monochromatic.png",
56+
old: "https://www.google.com/url?sa=i&url=https%3A%2F%2Fwww.docker.com%2Fcompany%2Fnewsroom%2Fmedia-resources%2F&psig=AOvVaw3hLg_lm0tzXPBt74XZD2GC&ust=1666892413988000&source=images&cd=vfe&ved=0CAwQjRxqFwoTCPDsiKa4_voCFQAAAAAdAAAAABAD",
57+
new: "https://www.google.com/url?sa=i&url=https%3A%2F%2Fwww.kindpng.com%2Fimgv%2FhRowRxi_docker-icon-png-transparent-png%2F&psig=AOvVaw3hLg_lm0tzXPBt74XZD2GC&ust=1666892413988000&source=images&cd=vfe&ved=0CAwQjRxqFwoTCPDsiKa4_voCFQAAAAAdAAAAABAI",
5858
secret: false,
5959
},
6060
},

0 commit comments

Comments
 (0)