diff --git a/src/components/TopBar/AboutDialog.js b/src/components/TopBar/AboutDialog.js index f0199c27..d24dc1e0 100644 --- a/src/components/TopBar/AboutDialog.js +++ b/src/components/TopBar/AboutDialog.js @@ -22,6 +22,7 @@ import { Fade, Grid, Stack, + Tooltip, Typography, useMediaQuery, useTheme, @@ -358,10 +359,24 @@ AboutDialog.propTypes = { getAdditionalModules: PropTypes.func, }; +const style = { + icons: { + flexGrow: 0, + position: 'relative', + top: '4px', + flexShrink: 0, + }, + version: { + flexGrow: 0, + alignSelf: 'flex-end', + flexShrink: 0, + }, +}; + const ModuleTypesIcons = { - app: , - server: , - other: , + app: , + server: , + other: , }; const Module = ({ type, name, version, license }) => { @@ -377,26 +392,28 @@ const Module = ({ type, name, version, license }) => { }, }} > - - {ModuleTypesIcons[type] || ModuleTypesIcons['other']} - - {name || ''} - - theme.palette.text.secondary} - display="inline" - marginLeft={1} - noWrap + ') + ' ' + (version || '')}> + - {version || null} - - + {ModuleTypesIcons[type] || ModuleTypesIcons['other']} + + {name || ''} + + theme.palette.text.secondary} + display="inline" + noWrap + sx={style.version} + > + {version || null} + + + ); };