Skip to content

Commit 4e6ad80

Browse files
committed
Add dialog title style
1 parent e5b2880 commit 4e6ad80

File tree

3 files changed

+15
-8
lines changed

3 files changed

+15
-8
lines changed

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

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import {
44
Dialog,
55
DialogActions,
66
DialogContent,
7+
DialogTitle,
78
Stack,
89
TextField,
910
Typography,
@@ -47,13 +48,9 @@ export function AppFromTemplateDialog({ open, setOpen, appTemplateSlug }) {
4748

4849
return (
4950
<Dialog open={open} onClose={handleClose}>
51+
<DialogTitle>{appTemplate?.name || "Create a new App"}</DialogTitle>
5052
<DialogContent>
51-
<Typography
52-
style={{ paddingTop: 5, fontSize: "20px", fontWeight: 500 }}
53-
>
54-
{appTemplate?.name || "Create a new App"}
55-
</Typography>
56-
<Typography style={{ paddingTop: 10, fontSize: "14px", color: "#555" }}>
53+
<Typography style={{ fontSize: "14px", color: "#555" }}>
5754
{appTemplate?.description}
5855
{appTemplate?.example_app_uuid && " Try it out "}
5956
{appTemplate?.example_app_uuid && (
@@ -78,8 +75,9 @@ export function AppFromTemplateDialog({ open, setOpen, appTemplateSlug }) {
7875
))}
7976
</Stack>
8077
<Typography
78+
variant="body1"
8179
style={{
82-
paddingTop: 20,
80+
paddingTop: 10,
8381
paddingBottom: 5,
8482
fontSize: "16px",
8583
}}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ const FilterBar = ({ apps, sessions, users, onFilter }) => {
282282
/>
283283
<Button
284284
type="primary"
285-
style={{
285+
sx={{
286286
textTransform: "none",
287287
}}
288288
variant="contained"

llmstack/client/src/index.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,15 @@ const defaultTheme = createTheme({
8484
},
8585
},
8686
},
87+
MuiDialogTitle: {
88+
styleOverrides: {
89+
root: {
90+
fontSize: "1.2rem",
91+
fontWeight: "600",
92+
color: "#0a398d",
93+
},
94+
},
95+
},
8796
MuiImageList: {
8897
styleOverrides: {
8998
root: {

0 commit comments

Comments
 (0)