π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Adjust public comment sidebar spacing
Anand Baburajan3e806d6ebe72
diff --git a/web/apps/albums/src/public-album/viewer/components/CommentsSidebar.tsx b/web/apps/albums/src/public-album/viewer/components/CommentsSidebar.tsxindex 28c54a4ce3..93bc1ff500 100644--- a/web/apps/albums/src/public-album/viewer/components/CommentsSidebar.tsx+++ b/web/apps/albums/src/public-album/viewer/components/CommentsSidebar.tsx@@ -1996,6 +1996,7 @@ const LoadingContainer = styled(Box)(() => ({justifyContent: "center",alignItems: "center",height: "100%",+ paddingRight: 24,// Offset for header (marginBottom: 48) + padding diff (32-24=8) = 56, halvedmarginTop: -28,}));@@ -2005,6 +2006,7 @@ const EmptyMessage = styled(Typography)(({ theme }) => ({justifyContent: "center",alignItems: "center",height: "100%",+ paddingRight: 24,// Offset for header (marginBottom: 48) + padding diff (32-24=8) = 56, halvedmarginTop: -28,color: "#666",@@ -2051,7 +2053,6 @@ const CommentsContainer = styled(Box)(({ theme }) => ({overflow: "auto",marginBottom: 16,marginRight: -24,- paddingRight: 24,position: "relative",display: "flex",flexDirection: "column-reverse",@@ -2105,6 +2106,9 @@ const OwnTimestamp = styled(Typography)(({ theme }) => ({textAlign: "right",marginBottom: 4,paddingRight: 52,+ "@media (max-width: 450px)": {+ paddingRight: 40,+ },...theme.applyStyles("dark", { color: "rgba(255, 255, 255, 0.7)" }),}));@@ -2129,6 +2133,9 @@ const CommentBubbleWrapper = styled(Box, {paddingLeft: isOwn ? 0 : 28,position: "relative",zIndex: isHighlighted ? 11 : "auto",+ "@media (max-width: 450px)": {+ paddingRight: isOwn ? 40 : 0,+ },}));const CommentBubbleInner = styled(Box)(() => ({