mirror of
https://github.com/stoatchat/for-legacy-web.git
synced 2026-03-06 17:11:55 +00:00
fix: add overflow to attachment grid
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user