Commit graph

3 commits

Author SHA1 Message Date
b06b641c9e Fixing issue with offset post body and metadata card. Fixes #544 2022-01-12 09:42:14 -05:00
eduardog3000
5f6ea5de6d
Improvements to post listings (#536)
* Improvements to post listings.

* Expanded image and body now show below the rest of the listing.
* The above are also offset to not be under the votes and thumbnail.
* Post title doesn't jump to a new line when you expand the image.
* Thumbnail doesn't disappear when you expand the image.
* Does not apply on mobile since things don't jump around as much.
* Clicking expanded image opens the original in a new tab.
* Does not apply on mobile since you can just long press.
* Instead tapping the image closes it.
* pictrs images now prefer the original format over jpg.
* Rendering split into many functions to improve readability.
* Post actions are now on the same line as the comments button.
* Post actions now show on mobile.
* Comments button made larger.
* Expanding or contracting an image now expands or contracts the body.

* Regenerated yarn.lock

To avoid problems resulting from malicous changes by the dev of `colors`
2022-01-11 19:53:23 -05:00
Dessalines
2356b0d62f
Swapping out iframely. (#374)
* Swapping out iframely.

* Renaming iframely-card to metadata-card
2021-08-19 11:24:13 -04:00
Renamed from src/shared/components/post/iframely-card.tsx (Browse further)