Fix display

This commit is contained in:
Cédric FAMIBELLE-PRONZOLA
2022-01-22 13:42:09 +04:00
parent 09932ac27b
commit 0097ac8254
5 changed files with 14 additions and 16 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ const StyledGrid = styled(Grid)((
[`& .${classes.root}`]: {
'& > *': {
marginBottom: theme.spacing(2),
marginTop: theme.spacing(4)
marginTop: theme.spacing(2)
}
}
}))
+2 -2
View File
@@ -17,14 +17,14 @@ const StyledBox = styled(Box)({
[`& .${classes.switch}`]: {
position: 'absolute',
right: '1em',
top: '100px',
top: '60px',
zIndex: 1,
cursor: 'pointer'
},
[`& .${classes.switchFixed}`]: {
position: 'fixed',
right: '1em',
top: '90px',
top: '70px',
zIndex: 9990,
cursor: 'pointer'
}
+1 -1
View File
@@ -12,7 +12,7 @@ const classes = {
const Root = styled('div')(() => ({
[`&.${classes.container}`]: {
marginTop: '6em'
marginTop: '4.5em'
}
}))
+4 -4
View File
@@ -79,7 +79,7 @@ const Root = styled('div')((
[`& .${classes.appBar}`]: {
borderTop: '2px solid #303030',
marginTop: '4.50rem',
marginTop: '3.10rem',
[theme.breakpoints.up('sm')]: {
width: `calc(100% - ${drawerWidth}px)`,
marginLeft: drawerWidth
@@ -97,7 +97,7 @@ const Root = styled('div')((
[`& .${classes.drawerPaper}`]: {
borderTop: '2px solid #303030',
marginTop: '4.50rem',
marginTop: '3.10rem',
width: drawerWidth
},
@@ -149,7 +149,7 @@ const Root = styled('div')((
[`& .${classes.pataje}`]: {
position: 'fixed',
top: '83px',
top: '61px',
left: '110px',
zIndex: 2,
[theme.breakpoints.up('sm')]: {
@@ -317,7 +317,7 @@ export default function TeksDrawer({teks, anTeks, komante}) {
<div className={classes.pataje}>
<Pataje teks={anTeks} setError={setError} setSuccess={setSuccess} />
</div>
<Box sx={{textAlign: 'center', marginTop: 11}}>
<Box sx={{textAlign: 'center', marginTop: 8}}>
<Typography style={{marginTop: '0.8em'}} variant='h4' display='block'>
<Typography gutterBottom variant='h6'>
{anTeks.awtis.map(a => a.alias).join(', ')}