Skip to content

Commit f3edc42

Browse files
fix(site): fix workspace resource width on ultra wide screens (#11596)
1 parent 130d5d6 commit f3edc42

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

site/src/pages/WorkspacePage/Workspace.tsx

+9-1
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,15 @@ export const Workspace: FC<WorkspaceProps> = ({
182182

183183
<div css={styles.content}>
184184
<div css={styles.dotBackground}>
185-
<div css={{ display: "flex", flexDirection: "column", gap: 24 }}>
185+
<div
186+
css={{
187+
display: "flex",
188+
flexDirection: "column",
189+
gap: 24,
190+
maxWidth: 24 * 50,
191+
margin: "auto",
192+
}}
193+
>
186194
{workspace.latest_build.status === "deleted" && (
187195
<WorkspaceDeletedBanner
188196
handleClick={() => navigate(`/templates`)}

0 commit comments

Comments
 (0)