Skip to content

Commit b995f4a

Browse files
committed
Layout tweaks
1 parent 580e801 commit b995f4a

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

site/src/components/WorkspaceStatusBar/WorkspaceStatusBar.tsx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import { makeStyles } from "@material-ui/core/styles"
99
import { WorkspaceSection } from "../WorkspaceSection/WorkspaceSection"
1010
import { Stack } from "../Stack/Stack"
1111
import Button from "@material-ui/core/Button"
12+
import Divider from "@material-ui/core/Divider"
1213

1314
/**
1415
* Component for the header at the top of the workspace page
@@ -37,7 +38,10 @@ export const WorkspaceStatusBar: React.FC<WorkspaceProps> = ({ organization, tem
3738
</div>
3839
<div className={styles.horizontal}>
3940
<Button color="primary">{action}</Button>
40-
<Button color="primary" disabled={!outOfDate}>Update</Button>
41+
{outOfDate &&
42+
<Button color="primary">Update</Button>
43+
}
44+
<Divider orientation="vertical" flexItem/>
4145
<Link className={styles.link} to={`workspaces/${workspace.id}/edit`}>Settings</Link>
4246
</div>
4347
</div>
@@ -61,7 +65,7 @@ const useStyles = makeStyles((theme) => {
6165
flexDirection: "row",
6266
justifyContent: "space-between",
6367
alignItems: "center",
64-
gap: theme.spacing(1)
68+
gap: theme.spacing(2)
6569
},
6670
vertical: {
6771
display: "flex",

0 commit comments

Comments
 (0)