Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

[web] Add bottom spacing to current user's last comment in sidebar

Anand Baburajan0ec688ee100a
diff --git a/web/packages/gallery/components/viewer/CommentsSidebar.tsx b/web/packages/gallery/components/viewer/CommentsSidebar.tsx
index 7566ab9407..6e778834eb 100644
--- a/web/packages/gallery/components/viewer/CommentsSidebar.tsx
+++ b/web/packages/gallery/components/viewer/CommentsSidebar.tsx
@@ -2355,7 +2355,7 @@ const CommentBubbleWrapper = styled(Box, {
justifyContent: isOwn ? "flex-end" : "flex-start",
width: "100%",
marginTop: isFirstOwn ? 64 : 0,
- marginBottom: isOwn ? 12 : isLastOwn ? 48 : 12,
+ marginBottom: isLastOwn ? 48 : 12,
paddingRight: isOwn ? 52 : 0,
paddingLeft: isOwn ? 0 : 28,
position: "relative",