Change pataje icon direction and position
This commit is contained in:
@@ -69,7 +69,7 @@ export default function Pataje({teks, setError, setSuccess}) {
|
|||||||
ariaLabel='Patajé'
|
ariaLabel='Patajé'
|
||||||
icon={<SpeedDialIcon icon={<ShareIcon />} />}
|
icon={<SpeedDialIcon icon={<ShareIcon />} />}
|
||||||
open={open}
|
open={open}
|
||||||
direction='right'
|
direction='down'
|
||||||
onClose={handleClose}
|
onClose={handleClose}
|
||||||
onOpen={handleOpen}
|
onOpen={handleOpen}
|
||||||
>
|
>
|
||||||
@@ -77,7 +77,7 @@ export default function Pataje({teks, setError, setSuccess}) {
|
|||||||
<SpeedDialAction
|
<SpeedDialAction
|
||||||
key={action.name}
|
key={action.name}
|
||||||
icon={action.icon}
|
icon={action.icon}
|
||||||
tooltipPlacement='bottom'
|
tooltipPlacement='right'
|
||||||
tooltipTitle={action.name}
|
tooltipTitle={action.name}
|
||||||
onClick={() => handleClick(action.code)}
|
onClick={() => handleClick(action.code)}
|
||||||
/>
|
/>
|
||||||
|
|||||||
@@ -106,11 +106,13 @@ const useStyles = makeStyles(theme => ({
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
pataje: {
|
pataje: {
|
||||||
position: 'absolute',
|
position: 'fixed',
|
||||||
top: '140px',
|
top: '85px',
|
||||||
left: '10px',
|
left: '110px',
|
||||||
|
zIndex: 999,
|
||||||
[theme.breakpoints.up('sm')]: {
|
[theme.breakpoints.up('sm')]: {
|
||||||
left: '275px'
|
top: '88px',
|
||||||
|
left: '340px'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}))
|
}))
|
||||||
|
|||||||
Reference in New Issue
Block a user