Change pataje icon direction and position

This commit is contained in:
Cédric FAMIBELLE-PRONZOLA
2021-06-05 21:24:27 +02:00
parent 2b323689a7
commit e982ac41e2
2 changed files with 8 additions and 6 deletions
+2 -2
View File
@@ -69,7 +69,7 @@ export default function Pataje({teks, setError, setSuccess}) {
ariaLabel='Patajé'
icon={<SpeedDialIcon icon={<ShareIcon />} />}
open={open}
direction='right'
direction='down'
onClose={handleClose}
onOpen={handleOpen}
>
@@ -77,7 +77,7 @@ export default function Pataje({teks, setError, setSuccess}) {
<SpeedDialAction
key={action.name}
icon={action.icon}
tooltipPlacement='bottom'
tooltipPlacement='right'
tooltipTitle={action.name}
onClick={() => handleClick(action.code)}
/>
+6 -4
View File
@@ -106,11 +106,13 @@ const useStyles = makeStyles(theme => ({
}
},
pataje: {
position: 'absolute',
top: '140px',
left: '10px',
position: 'fixed',
top: '85px',
left: '110px',
zIndex: 999,
[theme.breakpoints.up('sm')]: {
left: '275px'
top: '88px',
left: '340px'
}
}
}))