diff --git a/src/components/common/messaging/attachments/Grid.tsx b/src/components/common/messaging/attachments/Grid.tsx index 36faa5b0..dfb252cd 100644 --- a/src/components/common/messaging/attachments/Grid.tsx +++ b/src/components/common/messaging/attachments/Grid.tsx @@ -9,6 +9,7 @@ const Grid = styled.div<{ width: number; height: number }>` --height: ${(props) => props.height}px; display: grid; + overflow: hidden; aspect-ratio: ${(props) => props.width} / ${(props) => props.height}; max-width: min(var(--width), var(--attachment-max-width));