Skip to content

Commit c334031

Browse files
committed
Minor style adjustments
1 parent 2f1ac83 commit c334031

File tree

2 files changed

+5
-10
lines changed

2 files changed

+5
-10
lines changed

site/src/pages/WorkspacePage/Workspace.tsx

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import { type FC, useEffect } from "react";
55
import { useNavigate } from "react-router-dom";
66
import type * as TypesGen from "api/typesGenerated";
77
import { Alert, AlertDetail } from "components/Alert/Alert";
8-
import { Stack } from "components/Stack/Stack";
98
import { AgentRow } from "components/Resources/AgentRow";
109
import { useTab } from "hooks";
1110
import {
@@ -186,7 +185,7 @@ export const Workspace: FC<WorkspaceProps> = ({
186185

187186
<div css={styles.content}>
188187
<div css={styles.dotBackground}>
189-
<Stack direction="column" css={styles.firstColumnSpacer} spacing={4}>
188+
<div css={{ display: "flex", flexDirection: "column", gap: 24 }}>
190189
<WorkspaceNotifications
191190
workspace={workspace}
192191
template={template}
@@ -252,7 +251,7 @@ export const Workspace: FC<WorkspaceProps> = ({
252251
)}
253252
/>
254253
)}
255-
</Stack>
254+
</div>
256255
</div>
257256
</div>
258257
</div>
@@ -272,7 +271,7 @@ const styles = {
272271

273272
dotBackground: (theme) => ({
274273
minHeight: "100%",
275-
padding: 24,
274+
padding: 23,
276275
"--d": "1px",
277276
background: `
278277
radial-gradient(
@@ -292,8 +291,4 @@ const styles = {
292291
flexDirection: "column",
293292
},
294293
}),
295-
296-
firstColumnSpacer: {
297-
flex: 2,
298-
},
299294
} satisfies Record<string, Interpolation<Theme>>;

site/src/pages/WorkspacePage/WorkspaceNotifications.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,8 +204,8 @@ export const WorkspaceNotifications: FC<WorkspaceNotificationsProps> = (
204204
alignItems: "center",
205205
gap: 8,
206206
position: "fixed",
207-
bottom: 24,
208-
right: 24,
207+
bottom: 48,
208+
right: 48,
209209
zIndex: 10,
210210
}}
211211
>

0 commit comments

Comments
 (0)