Skip to content

Commit cac696e

Browse files
committed
Update settings style
1 parent 134f20f commit cac696e

File tree

3 files changed

+15
-7
lines changed

3 files changed

+15
-7
lines changed

llmstack/client/src/components/Connections.jsx

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,14 +116,19 @@ function Connections() {
116116
};
117117

118118
return (
119-
<Stack sx={{ margin: "0 10px 60px 10px" }}>
119+
<Stack>
120120
<Typography variant="h6" className="section-header">
121121
Connections
122122
</Typography>
123123
<Button
124124
startIcon={<AddOutlined />}
125125
variant="contained"
126-
sx={{ textTransform: "none", margin: "10px", marginLeft: "auto" }}
126+
sx={{
127+
textTransform: "none",
128+
margin: "10px",
129+
marginLeft: "auto",
130+
marginRight: 0,
131+
}}
127132
onClick={() => {
128133
setConnection(null);
129134
setOpenConnectionModal(true);

llmstack/client/src/components/Subscription.jsx

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,15 @@ function Subscription(props) {
1313
const organization = useRecoilValue(organizationState);
1414

1515
return (
16-
<Stack>
16+
<Stack sx={{ margin: "0 10px 60px 10px" }}>
1717
<Stack>
18-
<Typography variant="h6" className="section-header">
18+
<Typography
19+
variant="h6"
20+
className="section-header"
21+
sx={{ marginBottom: "8px" }}
22+
>
1923
Subscription
2024
</Typography>
21-
;
2225
<Stack>
2326
<Paper>
2427
<Stack>
@@ -75,7 +78,7 @@ function Subscription(props) {
7578
<Button
7679
variant="contained"
7780
sx={{
78-
margin: "8px 10px 60px 0",
81+
marginTop: "10px",
7982
display: profileFlags.IS_ORGANIZATION_MEMBER ? "none" : "inherit",
8083
alignSelf: "end",
8184
}}

llmstack/client/src/pages/setting.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ const SettingPage = () => {
346346
</Grid>
347347

348348
<Grid item xs={12} md={6} sx={{ p: 0 }}>
349-
<Stack>
349+
<Stack sx={{ margin: "0 10px", marginBottom: "60px" }} spacing={4}>
350350
<Connections />
351351
{process.env.REACT_APP_ENABLE_SUBSCRIPTION_MANAGEMENT ===
352352
"true" && <Subscription user_email={formData.user_email} />}

0 commit comments

Comments
 (0)