1
0
mirror of https://github.com/spacebarchat/client.git synced 2024-11-22 02:12:38 +01:00

fix images having no width when not rendered

This commit is contained in:
Puyodead1 2023-09-16 00:00:42 -04:00
parent 2787a72b71
commit ce673a7608
No known key found for this signature in database
GPG Key ID: A4FA4FEC0DD353FC

View File

@ -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;
`;