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:
parent
2787a72b71
commit
ce673a7608
@ -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;
|
||||
`;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user