Skip to content

Commit 6d3dc30

Browse files
refactor(site): Remove terminal padding and add border to bottom bar (coder#7871)
1 parent baa9922 commit 6d3dc30

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

site/src/pages/TerminalPage/TerminalPage.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -372,12 +372,13 @@ const BottomBar = ({ proxy, latency }: { proxy: Region; latency?: number }) => {
372372
return (
373373
<Box
374374
sx={{
375-
padding: (theme) => theme.spacing(2),
375+
padding: (theme) => theme.spacing(1, 2),
376376
background: (theme) => theme.palette.background.paper,
377377
display: "flex",
378378
alignItems: "center",
379379
justifyContent: "flex-end",
380380
fontSize: 12,
381+
borderTop: (theme) => `1px solid ${theme.palette.divider}`,
381382
}}
382383
>
383384
<Box
@@ -520,7 +521,6 @@ const useStyles = makeStyles((theme) => ({
520521
terminal: {
521522
width: "100vw",
522523
overflow: "hidden",
523-
padding: theme.spacing(1),
524524
backgroundColor: theme.palette.background.paper,
525525
flex: 1,
526526
// These styles attempt to mimic the VS Code scrollbar.

0 commit comments

Comments
 (0)