Compare commits

..

3 commits

Author SHA1 Message Date
thislight
a734c1dc5a
move TimelinePanel to separated files
- added TrendTimelinePanel for trending tab
2024-10-10 19:51:10 +08:00
thislight
675e45b44a
added createTimelineSnapshot 2024-10-10 19:51:10 +08:00
thislight
a97963001a
MediaAttachmentGrid: fix placeholder aspect-ratio
All checks were successful
/ depoly (push) Successful in 1m4s
2024-10-10 19:49:51 +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()