1
0
mirror of https://github.com/sasjs/server.git synced 2025-12-11 03:34:35 +00:00

chore: run button style fix

This commit is contained in:
2022-04-15 14:23:15 +02:00
parent 6c9e449614
commit 9f3ec92f8e

View File

@@ -17,7 +17,16 @@ const useStyles = makeStyles(() => ({
} }
}, },
subMenu: { subMenu: {
marginTop: '25px' marginTop: '25px',
display: 'flex',
justifyContent: 'center'
},
runButton: {
display: 'flex',
flexDirection: 'column',
alignItems: 'center',
padding: '5px 5px',
minWidth: 'unset'
} }
})) }))
@@ -133,20 +142,21 @@ const Studio = () => {
<Tooltip title="CTRL+ENTER will also run SAS code"> <Tooltip title="CTRL+ENTER will also run SAS code">
<Button <Button
onClick={handleRunBtnClick} onClick={handleRunBtnClick}
style={{ padding: 0, width: '35px', minWidth: 'unset' }} className={classes.runButton}
> >
<img <img
draggable="false" draggable="false"
style={{ width: '100%' }} style={{ width: '35px' }}
src="/running-sas.png" src="/running-sas.png"
></img> ></img>
<span style={{ fontSize: '12px' }}>RUN</span>
</Button> </Button>
</Tooltip> </Tooltip>
</div> </div>
{/* <Toolbar /> */} {/* <Toolbar /> */}
<Paper <Paper
sx={{ sx={{
height: 'calc(100vh - 180px)', height: 'calc(100vh - 210px)',
padding: '10px', padding: '10px',
overflow: 'auto', overflow: 'auto',
position: 'relative' position: 'relative'