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

style: lint

This commit is contained in:
2022-04-14 19:56:22 +02:00
parent 68e84b0994
commit 6c9e449614

View File

@@ -106,7 +106,11 @@ const Studio = () => {
const classes = useStyles()
return (
<Box onKeyUp={handleKeyUp} onKeyDown={handleKeyDown} sx={{ width: '100%', typography: 'body1', marginTop: '50px' }}>
<Box
onKeyUp={handleKeyUp}
onKeyDown={handleKeyDown}
sx={{ width: '100%', typography: 'body1', marginTop: '50px' }}
>
<TabContext value={tab}>
<Box
sx={{
@@ -127,8 +131,15 @@ const Studio = () => {
<TabPanel value="1">
<div className={classes.subMenu}>
<Tooltip title="CTRL+ENTER will also run SAS code">
<Button onClick={handleRunBtnClick} style={{ padding: 0, width: '35px', minWidth: 'unset' }}>
<img draggable="false" style={{ width: '100%' }} src="/running-sas.png"></img>
<Button
onClick={handleRunBtnClick}
style={{ padding: 0, width: '35px', minWidth: 'unset' }}
>
<img
draggable="false"
style={{ width: '100%' }}
src="/running-sas.png"
></img>
</Button>
</Tooltip>
</div>
@@ -151,7 +162,18 @@ const Studio = () => {
if (val) setFileContent(val)
}}
/>
<p style={{ position: 'absolute', left: 0, right: 0, bottom: -10, textAlign: 'center', fontSize: '13px' }}>Press CTRL + ENTER to run SAS code</p>
<p
style={{
position: 'absolute',
left: 0,
right: 0,
bottom: -10,
textAlign: 'center',
fontSize: '13px'
}}
>
Press CTRL + ENTER to run SAS code
</p>
</Paper>
</TabPanel>
<TabPanel value="2">