feat: Add a placeholder for image attachments in conversations view (#8969)

We analyze an image to get it's height and width. On the frontend, we would show a placeholder with the corresponding width and height until the images are loaded properly.

---------

Co-authored-by: Shivam Mishra <scm.mymail@gmail.com>
This commit is contained in:
Nithin David Thomas
2024-02-27 14:46:16 -08:00
committed by GitHub
parent fd993feece
commit b7a83dcbcd
4 changed files with 22 additions and 6 deletions

View File

@@ -577,7 +577,8 @@ export default {
> img,
> video {
@apply rounded-lg;
/** ensure that the bubble radius and image radius match*/
@apply rounded-[0.4rem];
}
> video {