mirror of
https://github.com/stoatchat/for-legacy-web.git
synced 2026-03-07 17:35:28 +00:00
Add more internal CSS variables.
This commit is contained in:
@@ -3,8 +3,8 @@ import { Children } from "../../../../types/Preact";
|
||||
|
||||
const Grid = styled.div`
|
||||
display: grid;
|
||||
max-width: min(480px, 100%, var(--width));
|
||||
max-height: min(640px, var(--height));
|
||||
max-width: min(var(--attachment-max-width), 100%, var(--width));
|
||||
max-height: min(var(--attachment-max-height), var(--height));
|
||||
aspect-ratio: var(--aspect-ratio);
|
||||
|
||||
img, video {
|
||||
|
||||
Reference in New Issue
Block a user