Skip to content

Commit

Permalink
Don't round the corners of attachments
Browse files Browse the repository at this point in the history
  • Loading branch information
mybearworld committed Jul 25, 2024
1 parent d10fcaf commit b990d3c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/Post.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ export const AttachmentView = (props: AttachmentViewProps) => {
<button type="button" aria-label={props.attachment.filename}>
<img
key={props.attachment.id}
className="max-h-40 rounded-xl"
className="max-h-40"
src={`${uploads}/attachments/${props.attachment.id}/${props.attachment.filename}?preview`}
alt={props.attachment.filename}
title={props.attachment.filename}
Expand Down Expand Up @@ -496,7 +496,7 @@ export const AttachmentView = (props: AttachmentViewProps) => {
return (
<video
src={`${uploads}/attachments/${props.attachment.id}/${props.attachment.filename}`}
className="max-h-40 rounded-xl"
className="max-h-40"
controls
title={props.attachment.filename}
/>
Expand Down

0 comments on commit b990d3c

Please sign in to comment.