Resized JMESPath Expression area.

This commit is contained in:
2026-01-31 15:48:27 +01:00
parent be6dc0de60
commit 4c964cdfeb

View File

@@ -213,10 +213,10 @@ function MainPage({
<Paper <Paper
sx={{ sx={{
mb: 3, mb: 1,
flexShrink: 0, flexShrink: 0,
bgcolor: "background.paper", bgcolor: "background.paper",
p: 3, p: 1.25,
border: 1, border: 1,
borderColor: "divider", borderColor: "divider",
}} }}
@@ -226,18 +226,19 @@ function MainPage({
display: "flex", display: "flex",
alignItems: "center", alignItems: "center",
justifyContent: "space-between", justifyContent: "space-between",
mb: 2, mb: 0.75,
}} }}
> >
<Box sx={{ display: "flex", alignItems: "center", gap: 1.5 }}> <Box sx={{ display: "flex", alignItems: "center", gap: 1 }}>
<SearchIcon sx={{ fontSize: 24 }} color="primary" /> <SearchIcon sx={{ fontSize: 20 }} color="primary" />
<Typography variant="h6" fontWeight="600"> <Typography variant="subtitle2" color="text.primary">
JMESPath Expression JMESPath Expression
</Typography> </Typography>
</Box> </Box>
</Box> </Box>
<TextField <TextField
fullWidth fullWidth
size="small"
placeholder="Enter JMESPath expression (e.g., people[*].name)" placeholder="Enter JMESPath expression (e.g., people[*].name)"
value={jmespathExpression} value={jmespathExpression}
onChange={handleJmespathChange} onChange={handleJmespathChange}
@@ -246,7 +247,11 @@ function MainPage({
sx={{ sx={{
"& .MuiInputBase-root": { "& .MuiInputBase-root": {
fontFamily: "'Noto Sans Mono', monospace", fontFamily: "'Noto Sans Mono', monospace",
fontSize: "1.1rem", fontSize: "0.9rem",
},
"& .MuiFormHelperText-root": {
mt: 0.75,
mb: -0.5,
}, },
}} }}
/> />
@@ -269,7 +274,7 @@ function MainPage({
<Box <Box
sx={{ sx={{
px: 2, px: 2,
py: 1.5, py: 1,
bgcolor: "action.hover", bgcolor: "action.hover",
borderBottom: 1, borderBottom: 1,
borderColor: "divider", borderColor: "divider",
@@ -426,7 +431,7 @@ function MainPage({
<Box <Box
sx={{ sx={{
px: 2, px: 2,
py: 1.5, py: 1,
bgcolor: "action.hover", bgcolor: "action.hover",
borderBottom: 1, borderBottom: 1,
borderColor: "divider", borderColor: "divider",