Refined control sizes.
This commit is contained in:
@@ -163,6 +163,7 @@ function ApiKeyPage({
|
|||||||
exclusive
|
exclusive
|
||||||
onChange={(e, value) => value && onShellTypeChange(value)}
|
onChange={(e, value) => value && onShellTypeChange(value)}
|
||||||
aria-label="shell type"
|
aria-label="shell type"
|
||||||
|
sx={{ "& .MuiToggleButton-root": { px: 2, py: 0.5 } }}
|
||||||
>
|
>
|
||||||
<ToggleButton value="bash">UNIX (Bash)</ToggleButton>
|
<ToggleButton value="bash">UNIX (Bash)</ToggleButton>
|
||||||
<ToggleButton value="powershell">Windows (PS)</ToggleButton>
|
<ToggleButton value="powershell">Windows (PS)</ToggleButton>
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ function Header({ theme, onThemeChange, currentPage, onPageChange }) {
|
|||||||
{/* Brand/Title */}
|
{/* Brand/Title */}
|
||||||
<Box sx={{ display: "flex", alignItems: "center" }}>
|
<Box sx={{ display: "flex", alignItems: "center" }}>
|
||||||
<Typography
|
<Typography
|
||||||
variant="h6"
|
variant="h5"
|
||||||
noWrap
|
noWrap
|
||||||
component="div"
|
component="div"
|
||||||
sx={{
|
sx={{
|
||||||
|
|||||||
@@ -216,17 +216,21 @@ function MainPage({
|
|||||||
mb: 1,
|
mb: 1,
|
||||||
flexShrink: 0,
|
flexShrink: 0,
|
||||||
bgcolor: "background.paper",
|
bgcolor: "background.paper",
|
||||||
p: 1.25,
|
|
||||||
border: 1,
|
border: 1,
|
||||||
borderColor: "divider",
|
borderColor: "divider",
|
||||||
|
overflow: "hidden",
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<Box
|
<Box
|
||||||
sx={{
|
sx={{
|
||||||
|
px: 2,
|
||||||
|
py: 1,
|
||||||
|
bgcolor: "action.hover",
|
||||||
|
borderBottom: 1,
|
||||||
|
borderColor: "divider",
|
||||||
display: "flex",
|
display: "flex",
|
||||||
alignItems: "center",
|
alignItems: "center",
|
||||||
justifyContent: "space-between",
|
justifyContent: "space-between",
|
||||||
mb: 0.75,
|
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<Box sx={{ display: "flex", alignItems: "center", gap: 1 }}>
|
<Box sx={{ display: "flex", alignItems: "center", gap: 1 }}>
|
||||||
@@ -236,6 +240,7 @@ function MainPage({
|
|||||||
</Typography>
|
</Typography>
|
||||||
</Box>
|
</Box>
|
||||||
</Box>
|
</Box>
|
||||||
|
<Box sx={{ p: 1.5 }}>
|
||||||
<TextField
|
<TextField
|
||||||
fullWidth
|
fullWidth
|
||||||
size="small"
|
size="small"
|
||||||
@@ -255,6 +260,7 @@ function MainPage({
|
|||||||
},
|
},
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
|
</Box>
|
||||||
</Paper>
|
</Paper>
|
||||||
|
|
||||||
<Grid container spacing={3} sx={{ flex: "1 1 0", minHeight: 0, height: 0 }}>
|
<Grid container spacing={3} sx={{ flex: "1 1 0", minHeight: 0, height: 0 }}>
|
||||||
|
|||||||
Reference in New Issue
Block a user