Skip to content

Commit d04b9d9

Browse files
lukaw3dlukaw3d
authored andcommitted
Improve topics line wrapping on mobile
1 parent 031bbea commit d04b9d9

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/app/components/RuntimeEvents/RuntimeEventDetails.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,8 @@ const RuntimeEventDetailsInner: FC<{
281281
{event.body.topics
282282
/* @ts-expect-error -- Event body is missing types */
283283
.map((base64Topic, index) => {
284-
return `${index}: 0x${Buffer.from(base64Topic, 'base64').toString('hex')}`
284+
// \xa0 is &nbsp;
285+
return `${index}:\xa00x${Buffer.from(base64Topic, 'base64').toString('hex')}`
285286
})
286287
.join('\n')}
287288
</span>

0 commit comments

Comments
 (0)