diff --git a/web/src/components/App/style.js b/web/src/components/App/style.js index 84428d8..fe63790 100644 --- a/web/src/components/App/style.js +++ b/web/src/components/App/style.js @@ -29,9 +29,13 @@ export const AppWrapper = styled.div` ` export const CenteredGrid = styled.div` - height: 100%; display: grid; place-items: center; + + ${standaloneMedia(css` + height: 100vh; + width: 100vw; + `)} ` export const AppHeader = styled.div` diff --git a/web/src/components/TorrentList/index.jsx b/web/src/components/TorrentList/index.jsx index ff49b4e..aae835c 100644 --- a/web/src/components/TorrentList/index.jsx +++ b/web/src/components/TorrentList/index.jsx @@ -6,11 +6,6 @@ import NoServerConnection from './NoServerConnection' import AddFirstTorrent from './AddFirstTorrent' export default function TorrentList({ isOffline, isLoading, torrents }) { - return ( - - - - ) if (isLoading || isOffline || !torrents.length) { return (