π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Remove global
Manav Rathic9b0b1ceea80
diff --git a/web/apps/cast/src/pages/_app.tsx b/web/apps/cast/src/pages/_app.tsxindex b2cbf17980..2c7f0d57d3 100644--- a/web/apps/cast/src/pages/_app.tsx+++ b/web/apps/cast/src/pages/_app.tsx@@ -8,8 +8,6 @@ import { CssBaseline, ThemeProvider } from "@mui/material";import type { AppProps } from "next/app";import React, { useEffect } from "react";-import "styles/global.css";-const App: React.FC<AppProps> = ({ Component, pageProps }) => {useEffect(() => {disableDiskLogs();diff --git a/web/apps/cast/src/pages/index.tsx b/web/apps/cast/src/pages/index.tsxindex 7ff6cf16e2..c714c18754 100644--- a/web/apps/cast/src/pages/index.tsx+++ b/web/apps/cast/src/pages/index.tsx@@ -82,7 +82,7 @@ const Page: React.FC = () => {export default Page;const Container = styled(Stack)`- height: 100%;+ height: 100svh;justify-content: center;align-items: center;text-align: center;diff --git a/web/apps/cast/src/pages/slideshow.tsx b/web/apps/cast/src/pages/slideshow.tsxindex 1ba2d376ab..3efffc83dd 100644--- a/web/apps/cast/src/pages/slideshow.tsx+++ b/web/apps/cast/src/pages/slideshow.tsx@@ -75,7 +75,7 @@ const PairingComplete: React.FC = () => {};const Message = styled(Stack)`- height: 100%;+ height: 100vh;justify-content: center;align-items: center;text-align: center;@@ -110,8 +110,7 @@ const SlideView: React.FC<SlideViewProps> = ({ url }) => {};const SlideView_ = styled("div")`- width: 100%;- height: 100%;+ height: 100vh;background-size: cover;background-position: center;@@ -162,8 +161,7 @@ const SlideViewChromecast: React.FC<SlideViewProps> = ({ url }) => {};const SlideViewChromecast_ = styled("div")`- width: 100%;- height: 100%;+ height: 100vh;/* We can't set opacity of background-image, so use a wrapper */position: relative;diff --git a/web/apps/cast/src/styles/global.css b/web/apps/cast/src/styles/global.cssdeleted file mode 100644index c86e6f099a..0000000000--- a/web/apps/cast/src/styles/global.css+++ /dev/null@@ -1,3 +0,0 @@-#__next {- height: 100vh; /* Make the Next.js root div fill the viewport height */-}