Skip to content

Commit

Permalink
BUG: Fix extra top space for audio and video messages to improve UI c…
Browse files Browse the repository at this point in the history
…onsistency
  • Loading branch information
dhairyashiil committed Dec 24, 2024
1 parent 94e0faf commit 2ba9420
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,7 @@ const AttachmentMetadata = ({ attachment, url, variantStyles = {} }) => {
variantStyles.attachmentMetaContainer,
]}
>
<p
css={[
css`
margin: 9px 0 0;
`,
]}
>
{attachment.description}
</p>
<p css={[css``]}>{attachment.description}</p>
<Box
css={css`
display: flex;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ const AudioAttachment = ({ attachment, host, type, author, variantStyles }) => {
css`
line-height: 0;
border-radius: inherit;
padding: 0.5rem;
`,
(type ? variantStyles.pinnedContainer : '') ||
css`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ const VideoAttachment = ({
css`
line-height: 0;
border-radius: inherit;
padding: 0.5rem;
`,
(type ? variantStyles.pinnedContainer : '') ||
css`
Expand Down

0 comments on commit 2ba9420

Please sign in to comment.