[release] v0.4.0-unstable7

This commit is contained in:
Yann Stepienik 2023-05-08 14:18:43 +01:00
parent b4080e14f8
commit 925070d0a3
3 changed files with 6 additions and 6 deletions

View file

@ -16,7 +16,7 @@ const NetworkContainerSetup = ({ config, containerInfo, refresh }) => {
const theme = useTheme();
const isDark = theme.palette.mode === 'dark';
const isMobile = useMediaQuery(theme.breakpoints.down('sm'));
const padding = isMobile ? '15px 4px' : '20px 10px';
const padding = isMobile ? '6px 4px' : '12px 10px';
React.useEffect(() => {
API.docker.networkList().then((res) => {
@ -106,7 +106,7 @@ const NetworkContainerSetup = ({ config, containerInfo, refresh }) => {
<Stack spacing={4}>
<div>
{formik.values.ports.map((port, idx) => (
<Grid container spacing={2} key={idx}>
<Grid container key={idx}>
<Grid item xs={4} style={{ padding }}>
<TextField
label="Container Port"

View file

@ -17,7 +17,7 @@ const DockerContainerSetup = ({config, containerInfo, refresh}) => {
];
const theme = useTheme();
const isMobile = useMediaQuery(theme.breakpoints.down('sm'));
const padding = isMobile ? '15px 4px' : '20px 10px';
const padding = isMobile ? '6px 4px' : '12px 10px';
return (
<div style={{ maxWidth: '1000px', width: '100%', margin: '', position: 'relative' }}>
@ -99,7 +99,7 @@ const DockerContainerSetup = ({config, containerInfo, refresh}) => {
<CosmosFormDivider title={'Environment Variables'} />
<Grid item xs={12}>
{formik.values.envVars.map((envVar, idx) => (
<Grid container spacing={2} key={idx}>
<Grid container key={idx}>
<Grid item xs={5} style={{padding}}>
<TextField
label="Key"
@ -157,7 +157,7 @@ const DockerContainerSetup = ({config, containerInfo, refresh}) => {
<CosmosFormDivider title={'Labels'} />
<Grid item xs={12}>
{formik.values.labels.map((label, idx) => (
<Grid container spacing={2} key={idx}>
<Grid container key={idx}>
<Grid item xs={5} style={{padding}}>
<TextField
fullWidth

View file

@ -1,6 +1,6 @@
{
"name": "cosmos-server",
"version": "0.4.0-unstable7",
"version": "0.4.0-unstable8",
"description": "",
"main": "test-server.js",
"bugs": {