Skip to content

Commit

Permalink
fix images having no width when not rendered
Browse files Browse the repository at this point in the history
  • Loading branch information
Puyodead1 committed Sep 16, 2023
1 parent 2787a72 commit ce673a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/messaging/MessageAttachment.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import AttachmentPreviewModal from "../modals/AttachmentPreviewModal";

const Attachment = styled.div<{ withPointer?: boolean }>`
cursor: ${(props) => (props.withPointer ? "pointer" : "default")};
width: min-content;
width: fit-content;
padding: 2px 0;
`;

Expand Down

0 comments on commit ce673a7

Please sign in to comment.