Skip to content

Commit e5b2880

Browse files
committed
Update spacing
1 parent ab9b2f8 commit e5b2880

File tree

7 files changed

+19
-23
lines changed

7 files changed

+19
-23
lines changed

llmstack/client/src/components/Connections.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ function Connections() {
116116
};
117117

118118
return (
119-
<Stack sx={{ margin: "10px", marginBottom: "60px" }}>
119+
<Stack sx={{ margin: "0 10px 60px 10px" }}>
120120
<Typography variant="h6" className="section-header">
121121
Connections
122122
</Typography>

llmstack/client/src/components/Subscription.jsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,8 @@ function Subscription(props) {
7474
{!profileFlags.IS_ORGANIZATION_MEMBER && (
7575
<Button
7676
variant="contained"
77-
style={{
78-
marginTop: "8px",
79-
marginRight: "10px",
77+
sx={{
78+
margin: "8px 10px 60px 0",
8079
display: profileFlags.IS_ORGANIZATION_MEMBER ? "none" : "inherit",
8180
alignSelf: "end",
8281
}}

llmstack/client/src/components/SubscriptionUpdateModal.jsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,11 @@ const SubscriptionUpdateModal = ({ open, handleCloseCb }) => {
4848
<Typography variant="body1">
4949
Choose a subscription plan to upgrade to. To compare the features of
5050
each plan, please visit our{" "}
51-
<a href="https://www.trypromptly.com/#pricing" target="_blank">
51+
<a
52+
href="https://www.trypromptly.com/#pricing"
53+
target="_blank"
54+
rel="noreferrer"
55+
>
5256
pricing page
5357
</a>
5458
.

llmstack/client/src/components/apps/AppRunHistoryTimeline.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ const FilterBar = ({ apps, sessions, users, onFilter }) => {
167167
direction="row"
168168
spacing={1}
169169
sx={{
170-
padding: "10px",
170+
padding: "10px 0",
171171
}}
172172
>
173173
<Autocomplete

llmstack/client/src/components/datasource/AddDataSourceModal.jsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import {
88
DialogTitle,
99
DialogContent,
1010
DialogActions,
11+
Typography,
1112
} from "@mui/material";
1213
import { useRecoilValue, useRecoilState } from "recoil";
1314
import { dataSourcesState, dataSourceTypesState } from "../../data/atoms";

llmstack/client/src/pages/AppStudio.jsx

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
import { useEffect, useRef } from "react";
22
import { useTour } from "@reactour/tour";
33
import { useCookies } from "react-cookie";
4-
import { Box, Container, Typography } from "@mui/material";
4+
import { Box, Typography } from "@mui/material";
55
import { AppList } from "../components/apps/AppList";
66
import { SharedAppList } from "../components/apps/SharedAppList";
7-
import "../index.css";
87
import AppTemplatesContainer from "../components/apps/AppTemplatesContainer";
8+
import "../index.css";
99

1010
const AppStudioPage = () => {
1111
const { steps, setSteps, setIsOpen } = useTour();
@@ -60,15 +60,8 @@ const AppStudioPage = () => {
6060
});
6161

6262
return (
63-
<Container
64-
maxWidth="md"
65-
style={{ minWidth: "100%", padding: 5 }}
66-
ref={containerRef}
67-
>
68-
<Box
69-
style={{ marginTop: "5px", marginBottom: "20px" }}
70-
className="app-template-list"
71-
>
63+
<Box ref={containerRef} sx={{ m: 1 }}>
64+
<Box sx={{ marginBottom: "20px" }} className="app-template-list">
7265
<Typography variant="h5" className="section-header">
7366
App Templates
7467
<br />
@@ -100,7 +93,7 @@ const AppStudioPage = () => {
10093
</Typography>
10194
<SharedAppList />
10295
</Box>
103-
</Container>
96+
</Box>
10497
);
10598
};
10699

llmstack/client/src/pages/setting.jsx

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import { enqueueSnackbar } from "notistack";
2121
import Connections from "../components/Connections";
2222
import Subscription from "../components/Subscription";
2323
import { fetchData, patchData } from "./dataUtil";
24-
import { organizationState, profileFlagsState } from "../data/atoms";
24+
import { profileFlagsState } from "../data/atoms";
2525
import { useRecoilValue } from "recoil";
2626
import "../index.css";
2727
import ThemedJsonForm from "../components/ThemedJsonForm";
@@ -144,7 +144,6 @@ const SettingPage = () => {
144144
const [loading, setLoading] = useState(true);
145145
const [updateKeys, setUpdateKeys] = useState(new Set());
146146
const profileFlags = useRecoilValue(profileFlagsState);
147-
const organization = useRecoilValue(organizationState);
148147
const formRef = createRef();
149148

150149
useEffect(() => {
@@ -227,9 +226,9 @@ const SettingPage = () => {
227226
{loading ? (
228227
<CircularProgress />
229228
) : (
230-
<Grid container>
229+
<Grid container sx={{ m: 1 }}>
231230
<Grid item xs={12} md={6}>
232-
<Stack spacing={2} sx={{ textAlign: "left", margin: "10px" }}>
231+
<Stack spacing={2} sx={{ textAlign: "left" }}>
233232
<Typography variant="h6" className="section-header">
234233
Settings
235234
</Typography>
@@ -346,7 +345,7 @@ const SettingPage = () => {
346345
</Stack>
347346
</Grid>
348347

349-
<Grid item xs={12} md={6}>
348+
<Grid item xs={12} md={6} sx={{ p: 0 }}>
350349
<Stack>
351350
<Connections />
352351
{process.env.REACT_APP_ENABLE_SUBSCRIPTION_MANAGEMENT ===

0 commit comments

Comments
 (0)