Commit graph

9 commits

Author SHA1 Message Date
thislight
de03e62783 MediaAttachmentGrid: major layout revised
* Now the media preview use masonry layout
* Supports preview video media
2024-09-23 15:43:49 +08:00
thislight
06e2460b04 MediaAttachmentGrid: optimize preview layout (#11) 2024-09-14 20:09:54 +08:00
thislight
e32de2f2e9 TootPreviewCard: limit text lines (#9)
A problem in this impl is that the ellipsis does
not show.
2024-09-14 15:08:17 +08:00
thislight
7f9a16ff5d *Toot: fix the thread line covers preview (#10) 2024-09-14 12:34:45 +08:00
thislight
ae6f0ff9d8 TootPreviewCard: minor layout adjustment
Remove the image's centre in compact layout.
This helps the feeling when the text is too long.
I am still finding ways to limit the card height.
2024-08-22 17:11:45 +08:00
thislight
673760e8f9 TootPreviewCard: balance padding 2024-08-17 18:58:25 +08:00
thislight
df19e54d9b RegularToot: added preview cards 2024-08-17 17:16:18 +08:00
thislight
abde6817f0 format code using prettier 2024-08-05 15:33:00 +08:00
thislight
5449e361d5 initial commit 2024-07-14 20:28:44 +08:00