Skip to content

Commit

Permalink
Merge pull request #571 from oasisprotocol/lw/wrap-dl
Browse files Browse the repository at this point in the history
Wrap all long values in description list
  • Loading branch information
lukaw3d authored Jun 21, 2023
2 parents 6f622a0 + 8d83c89 commit 72e2e04
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
1 change: 1 addition & 0 deletions .changelog/571.bugfix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Wrap all long values in detail pages
1 change: 1 addition & 0 deletions src/app/components/StyledDescriptionList/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ export const StyledDescriptionList = styled(InlineDescriptionList, {
},
dd: {
color: COLORS.brandExtraDark,
overflowWrap: 'anywhere',
},
...(standalone && {
'&&': {
Expand Down
8 changes: 1 addition & 7 deletions src/app/pages/TransactionDetailPage/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -387,13 +387,7 @@ export const TransactionDetailView: FC<{
<>
<dt>{t('transactions.encryption.resultNonce')}</dt>
<dd>
<Typography
variant="mono"
sx={{
fontWeight: 400,
overflowWrap: 'anywhere',
}}
>
<Typography variant="mono" sx={{ fontWeight: 400 }}>
{transaction.encryption_envelope.result_nonce}
</Typography>
</dd>
Expand Down

0 comments on commit 72e2e04

Please sign in to comment.