From 1278cc3f9136ff7d1bc1809a8eff6b65898d69a3 Mon Sep 17 00:00:00 2001 From: Josue Date: Tue, 3 Aug 2021 17:44:07 -0400 Subject: [PATCH] style(front-end): move the VncDisplay component to the center of the server page in fullDisplay mode --- striker-ui/pages/server/index.tsx | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/striker-ui/pages/server/index.tsx b/striker-ui/pages/server/index.tsx index a95ac5ea..3037129d 100644 --- a/striker-ui/pages/server/index.tsx +++ b/striker-ui/pages/server/index.tsx @@ -9,11 +9,8 @@ import Header from '../../components/Header'; const useStyles = makeStyles((theme) => ({ preview: { - width: '20%', + width: '25%', height: '100%', - [theme.breakpoints.down('lg')]: { - width: '25%', - }, [theme.breakpoints.down('md')]: { width: '100%', }, @@ -22,10 +19,7 @@ const useStyles = makeStyles((theme) => ({ display: 'flex', flexDirection: 'row', width: '100%', - justifyContent: 'space-between', - [theme.breakpoints.down('md')]: { - display: 'block', - }, + justifyContent: 'center', }, })); @@ -44,10 +38,8 @@ const Server = (): JSX.Element => {
{typeof uuid === 'string' && (previewMode ? ( - - - - + + ) : (