Skip to content

Commit

Permalink
Fixed minor design inconsistency
Browse files Browse the repository at this point in the history
  • Loading branch information
devanshkansagra committed Dec 23, 2024
1 parent d471ceb commit 096cd4b
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions packages/react/src/views/AttachmentHandler/AttachmentMetadata.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,21 @@ const AttachmentMetadata = ({ attachment, url, variantStyles = {}, msg }) => {
`}
>
<p
css={css`
margin: 0;
font-size: 14px;
opacity: 0.7;
`}
css={
attachment.description
? [
css`
margin: 0px;
font-size: 14px;
opacity: 0.7;
`,
]
: css`
margin: 22px 0 15px 0;
font-size: 14px;
opacity: 0.7;
`
}
>
{attachment.title}
</p>
Expand Down

0 comments on commit 096cd4b

Please sign in to comment.