Skip to content

Commit 653a332

Browse files
authored
Merge pull request #880 from getmaxun/misc-fixes
fix: misc ui fixes
2 parents 8489f95 + 5a6e89a commit 653a332

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

src/components/dashboard/NavBar.tsx

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ export const NavBar: React.FC<NavBarProps> = ({
119119
} catch (error: any) {
120120
const status = error.response?.status;
121121
let errorKey = 'unknown';
122-
122+
123123
switch (status) {
124124
case 401:
125125
errorKey = 'unauthorized';
@@ -132,7 +132,7 @@ export const NavBar: React.FC<NavBarProps> = ({
132132
errorKey = 'network';
133133
}
134134
}
135-
135+
136136
notify(
137137
'error',
138138
t(`navbar.notifications.errors.logout.${errorKey}`, {
@@ -163,6 +163,9 @@ export const NavBar: React.FC<NavBarProps> = ({
163163
onClick={toggleTheme}
164164
sx={{
165165
color: darkMode ? '#ffffff' : '#0000008A',
166+
'&:hover': {
167+
background: 'inherit'
168+
}
166169
}}
167170
>
168171
{darkMode ? <LightMode /> : <DarkMode />}
@@ -253,6 +256,9 @@ export const NavBar: React.FC<NavBarProps> = ({
253256
borderRadius: '5px',
254257
padding: '8px',
255258
marginRight: '20px',
259+
'&:hover': {
260+
background: 'inherit'
261+
}
256262
}}>
257263
<Update sx={{ marginRight: '5px' }} />
258264
<Typography variant="body1">{t('navbar.upgrade.button')}</Typography>
@@ -332,7 +338,7 @@ export const NavBar: React.FC<NavBarProps> = ({
332338
docker-compose down
333339
<br />
334340
<br />
335-
# Remove existing backend and frontend images
341+
# Remove existing backend and frontend images
336342
<br />
337343
docker rmi getmaxun/maxun-frontend:latest getmaxun/maxun-backend:latest
338344
<br />
@@ -367,7 +373,7 @@ export const NavBar: React.FC<NavBarProps> = ({
367373
padding: '8px',
368374
marginRight: '10px',
369375
'&:hover': {
370-
background: 'inherit'
376+
background: 'inherit'
371377
}
372378
}}>
373379
<AccountCircle sx={{ marginRight: '5px' }} />

src/components/run/InterpretationLog.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@ export const InterpretationLog: React.FC<InterpretationLogProps> = ({ isOpen, se
453453
background: `${darkMode ? '#1d1c1cff' : 'white'}`,
454454
color: `${darkMode ? 'white' : 'black'}`,
455455
padding: '10px',
456-
height: "calc(100% - 140px)",
456+
height: outputPreviewHeight,
457457
width: outputPreviewWidth,
458458
display: 'flex',
459459
flexDirection: 'column',

0 commit comments

Comments
 (0)