Skip to content

armgit / ente

Public Imported from GitHub
0

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

feat: blurred photo auditorium backdrop

httpjamesmbb161e29e778
diff --git a/apps/cast/src/components/Theatre/PhotoAuditorium.tsx b/apps/cast/src/components/Theatre/PhotoAuditorium.tsx
index 98ea68d23d..a67cdc8de7 100644
--- a/apps/cast/src/components/Theatre/PhotoAuditorium.tsx
+++ b/apps/cast/src/components/Theatre/PhotoAuditorium.tsx
@@ -19,9 +19,6 @@ export default function PhotoAuditorium({ url }: { url: string }) {
style={{
width: '100vw',
height: '100vh',
- display: 'flex',
- justifyContent: 'center',
- alignItems: 'center',
backgroundImage: `url(${url})`,
backgroundSize: 'cover',
backgroundPosition: 'center',
@@ -29,13 +26,23 @@ export default function PhotoAuditorium({ url }: { url: string }) {
backgroundBlendMode: 'multiply',
backgroundColor: 'rgba(0, 0, 0, 0.5)',
}}>
- <img
- src={url}
+ <div
style={{
- maxWidth: '100%',
- maxHeight: '100%',
- }}
- />
+ height: '100%',
+ width: '100%',
+ display: 'flex',
+ justifyContent: 'center',
+ alignItems: 'center',
+ backdropFilter: 'blur(10px)',
+ }}>
+ <img
+ src={url}
+ style={{
+ maxWidth: '100%',
+ maxHeight: '100%',
+ }}
+ />
+ </div>
</div>
);
}