TagSpaces is an offline, open source, document manager with tagging support
chore: refactoring styles
Ilian Sapundshievacf8e002091f
diff --git a/src/renderer/components/WelcomePanel.tsx b/src/renderer/components/WelcomePanel.tsxindex d618259b9..5854c7d4f 100644--- a/src/renderer/components/WelcomePanel.tsx+++ b/src/renderer/components/WelcomePanel.tsx@@ -101,7 +101,7 @@ function WelcomePanel() {function renderRecentItems() {return (- <Box style={{ display: 'flex', flexDirection: 'column' }}>+ <Box sx={{ display: 'flex', flexDirection: 'column' }}><Typography variant="inherit" className={classes.recentTitle} noWrap>{t('core:fileOpenHistory')}</Typography>@@ -347,53 +347,53 @@ function WelcomePanel() {return (<Rootdata-tid="WelcomePanelTID"- style={{+ sx={{overflow: 'hidden',position: 'relative',- paddingLeft: 20,+ paddingLeft: '20px',height: '100%',}}><Grid- style={{+ sx={{position: 'relative',height: '100%',}}containerspacing={2}>- <Grid style={{ height: '100%', zIndex: 1, minWidth: 300 }}>+ <Grid sx={{ height: '100%', zIndex: 1, minWidth: '300px' }}>{renderQuickLinks()}</Grid>{desktopMode && (- <Grid style={{ height: '100%' }}>- <div- style={{+ <Grid sx={{ height: '100%' }}>+ <Box+ sx={{margin: 'auto',- marginTop: 15,- marginBottom: 15,+ marginTop: '15px',+ marginBottom: '15px',overflowY: 'auto',height: 'calc(100% - 50px)',backgroundColor: theme.palette.background.default,}}><HowToStart />- </div>+ </Box></Grid>)}- <Grid style={{ height: '100%', minWidth: 300 }}>- <div- style={{+ <Grid sx={{ height: '100%', minWidth: '300px' }}>+ <Box+ sx={{margin: 'auto',- marginTop: 55,- marginBottom: 15,+ marginTop: '55px',+ marginBottom: '15px',overflowY: 'auto',height: 'calc(100% - 50px)',backgroundColor: theme.palette.background.default,}}>{renderRecentItems()}- </div>+ </Box></Grid></Grid></Root>diff --git a/src/renderer/components/dialogs/ConfirmDialog.tsx b/src/renderer/components/dialogs/ConfirmDialog.tsxindex 966c42e9a..40f397446 100644--- a/src/renderer/components/dialogs/ConfirmDialog.tsx+++ b/src/renderer/components/dialogs/ConfirmDialog.tsx@@ -81,7 +81,7 @@ function ConfirmDialog(props: Props) {onClose={onClose}keepMountedscroll="paper"- style={{ zIndex: 1301 }}+ sx={{ zIndex: 1301 }}><DialogTitle sx={{ cursor: 'move' }} id="draggable-dialog-title">{title}