Skip to content

Commit

Permalink
Merge pull request #225 from onattech/DA-227_Unsaved_Circle
Browse files Browse the repository at this point in the history
Unsaved circle is ready.
  • Loading branch information
saul-data authored Apr 2, 2022
2 parents 482c0c7 + bf18bfc commit 2ac9dac
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion frontend/src/components/EditorPage/EditorColumn/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,8 @@ const EditorColumn = forwardRef(({ children, ...rest }, ref) => {
label={tabs?.name}
value={idx}
icon={
<IconButton aria-label="close" onClick={(e) => handleTabClose(tabs, e)}>
<IconButton aria-label="close" onClick={(e) => handleTabClose(tabs, e)} style={{ marginLeft: 0, paddingLeft: 4 }}>
{tabs.isEditing && <Box sx={{ width: 8, height: 8, marginRight: 1, backgroundColor: 'secondary.main', borderRadius: '50%' }} />}
<Box component={FontAwesomeIcon} icon={faTimes} sx={{ fontSize: 13 }} />
</IconButton>
}
Expand Down

0 comments on commit 2ac9dac

Please sign in to comment.