Compare commits

..

2 commits

Author SHA1 Message Date
thislight
b3411c502c
move TimelinePanel to separated files
- added TrendTimelinePanel for trending tab
2024-10-10 16:24:27 +08:00
thislight
7aeb739d26
added createTimelineSnapshot 2024-10-10 16:24:06 +08:00

View file

@ -89,7 +89,7 @@ const MediaAttachmentGrid: Component<{
const realHeight = height && height > maxHeight ? maxHeight : height; const realHeight = height && height > maxHeight ? maxHeight : height;
const realWidth = const realWidth =
width && height && height > maxHeight width && height && height > maxHeight
? maxHeight * (aspectRatio ?? 1) ? maxHeight / (aspectRatio ?? 1)
: width; : width;
const style = () => const style = () =>
loaded() loaded()