Skip to content

Commit e54ec3c

Browse files
authored
update UI (#6)
* update UI * update ui
1 parent 2c19f8c commit e54ec3c

File tree

2 files changed

+16
-4
lines changed

2 files changed

+16
-4
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,10 @@ and then open [Logz.io](https://app.logz.io/#/dashboard/metrics).
7373

7474
## Changelong
7575

76+
1.1.3:
77+
78+
- Update UI
79+
7680
1.1.2:
7781

7882
- Update docker image, to upload playwright to the Docker.

client/src/containers/EditCodeContainer/index.tsx

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
import React, { FunctionComponent, useState } from 'react';
22
import styled from 'styled-components';
33

4-
import Container from '../../components/Container';
5-
64
import CodeEditor from '../../components/CodeEditor';
75
import EnvVariableWrapper from '../EnvVariableContainer';
86
import Text from '../../components/Text';
@@ -13,6 +11,15 @@ import Button from '../../components/Button';
1311

1412
import api from '../../utils/api';
1513

14+
const ContainerDiv = styled.div`
15+
position: relative;
16+
margin-left: 284px;
17+
margin-right: auto;
18+
width: calc(100% - 284px);
19+
max-width: 1280px;
20+
padding-bottom: 24px;
21+
`;
22+
1623
const TopWrapper = styled.div`
1724
margin-bottom: 24px;
1825
display: flex;
@@ -32,6 +39,7 @@ const ContainerSteps = styled.div`
3239
margin-right: 15px;
3340
margin-left: 15px;
3441
height: 100%;
42+
min-height: 700px;
3543
`;
3644
const SelectWrapper = styled.div`
3745
position: relative;
@@ -122,7 +130,7 @@ const EditCodeContainer: FunctionComponent<IProps> = ({
122130
};
123131

124132
return (
125-
<Container>
133+
<ContainerDiv>
126134
<ContainerSteps>
127135
<TopWrapper>
128136
<TextWrapper>
@@ -183,7 +191,7 @@ const EditCodeContainer: FunctionComponent<IProps> = ({
183191
</StatusTest>
184192
</BottomWrapper>
185193
</ContainerSteps>
186-
</Container>
194+
</ContainerDiv>
187195
);
188196
};
189197

0 commit comments

Comments
 (0)