π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Improve space caption styling
Anand Baburajan69ec2eab45fa
diff --git a/web/apps/space/src/components/FileViewer.tsx b/web/apps/space/src/components/FileViewer.tsxindex f85f69f9a3..8ff8a28f7b 100644--- a/web/apps/space/src/components/FileViewer.tsx+++ b/web/apps/space/src/components/FileViewer.tsx@@ -318,10 +318,10 @@ const viewerCaptionTextSx = {whiteSpace: "pre-wrap",} as const;const viewerCaptionBubbleSx = {- bgcolor: "rgba(48, 48, 48, 0.86)",- borderRadius: "10px",+ bgcolor: "rgba(48, 48, 48, 0.79)",+ borderRadius: "5px",boxDecorationBreak: "clone",- px: "8px",+ px: "7px",py: "2px",WebkitBoxDecorationBreak: "clone",} as const;@@ -337,13 +337,13 @@ const SpaceViewerCaption: React.FC<{ caption: string }> = ({ caption }) => {bottom: "14%",left: "50%",m: 0,- maxWidth: "70vw",+ maxWidth: "78vw",minWidth: 0,overflowWrap: "break-word",position: "fixed",textShadow: "0 1px 10px rgba(0, 0, 0, 0.74)",transform: "translateX(-50%)",- width: "70vw",+ width: "78vw",zIndex: 2,}}>diff --git a/web/apps/space/src/screens/HomeScreen.tsx b/web/apps/space/src/screens/HomeScreen.tsxindex ecc46a79c4..3d1389d5bc 100644--- a/web/apps/space/src/screens/HomeScreen.tsx+++ b/web/apps/space/src/screens/HomeScreen.tsx@@ -90,10 +90,10 @@ const feedPhotoCaptionTextSx = {textWrap: "balance",} as const;const feedPhotoCaptionBubbleSx = {- bgcolor: "rgba(48, 48, 48, 0.86)",- borderRadius: "10px",+ bgcolor: "rgba(48, 48, 48, 0.79)",+ borderRadius: "5px",boxDecorationBreak: "clone",- px: "8px",+ px: "7px",py: "2px",WebkitBoxDecorationBreak: "clone",} as const;@@ -645,7 +645,7 @@ const FeedPhotoCaption: React.FC<{ caption: string }> = ({ caption }) => {bottom: 20,display: "-webkit-box",left: "50%",- maxWidth: "70%",+ maxWidth: "78%",overflow: "hidden",pointerEvents: "none",position: "absolute",