diff --git a/src/components/dashboard/NavBar.tsx b/src/components/dashboard/NavBar.tsx index 33a52d65..4240d8af 100644 --- a/src/components/dashboard/NavBar.tsx +++ b/src/components/dashboard/NavBar.tsx @@ -119,7 +119,7 @@ export const NavBar: React.FC = ({ } catch (error: any) { const status = error.response?.status; let errorKey = 'unknown'; - + switch (status) { case 401: errorKey = 'unauthorized'; @@ -132,7 +132,7 @@ export const NavBar: React.FC = ({ errorKey = 'network'; } } - + notify( 'error', t(`navbar.notifications.errors.logout.${errorKey}`, { @@ -163,6 +163,9 @@ export const NavBar: React.FC = ({ onClick={toggleTheme} sx={{ color: darkMode ? '#ffffff' : '#0000008A', + '&:hover': { + background: 'inherit' + } }} > {darkMode ? : } @@ -253,6 +256,9 @@ export const NavBar: React.FC = ({ borderRadius: '5px', padding: '8px', marginRight: '20px', + '&:hover': { + background: 'inherit' + } }}> {t('navbar.upgrade.button')} @@ -332,7 +338,7 @@ export const NavBar: React.FC = ({ docker-compose down

- # Remove existing backend and frontend images + # Remove existing backend and frontend images
docker rmi getmaxun/maxun-frontend:latest getmaxun/maxun-backend:latest
@@ -367,7 +373,7 @@ export const NavBar: React.FC = ({ padding: '8px', marginRight: '10px', '&:hover': { - background: 'inherit' + background: 'inherit' } }}> diff --git a/src/components/run/InterpretationLog.tsx b/src/components/run/InterpretationLog.tsx index a0042694..c269add1 100644 --- a/src/components/run/InterpretationLog.tsx +++ b/src/components/run/InterpretationLog.tsx @@ -453,7 +453,7 @@ export const InterpretationLog: React.FC = ({ isOpen, se background: `${darkMode ? '#1d1c1cff' : 'white'}`, color: `${darkMode ? 'white' : 'black'}`, padding: '10px', - height: "calc(100% - 140px)", + height: outputPreviewHeight, width: outputPreviewWidth, display: 'flex', flexDirection: 'column',