Skip to content

Commit

Permalink
fix: Settings styles (#3218)
Browse files Browse the repository at this point in the history
  • Loading branch information
xoscar authored Oct 5, 2023
1 parent b68a9b2 commit e034bce
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
1 change: 0 additions & 1 deletion web/src/components/Settings/DataStore/DataStore.styled.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ export const Title = styled(Typography.Title)`
export const Wrapper = styled.div`
display: flex;
flex-direction: column;
margin-bottom: 24px;
background: ${({theme}) => theme.color.white};
`;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ import styled, {css} from 'styled-components';
import {Tabs, Typography} from 'antd';
import {CheckCircleOutlined} from '@ant-design/icons';

const defaultHeight = 'calc(100vh - 106px - 48px);';
const defaultHeight = '100vh - 106px - 60px - 40px';

export const FormContainer = styled.div`
display: grid;
grid-template-columns: auto 1fr;
height: ${defaultHeight};
height: calc(${defaultHeight} - 48px);
overflow: hidden;
`;

Expand All @@ -16,7 +16,7 @@ export const FactoryContainer = styled.div`
flex-direction: column;
padding: 22px 0;
justify-content: space-between;
height: ${defaultHeight};
height: calc(${defaultHeight} - 25px);
overflow-y: scroll;
.ant-form-item {
Expand All @@ -32,7 +32,7 @@ export const TopContainer = styled.div`
`;

export const DataStoreListContainer = styled(Tabs)`
height: calc(100vh - 25px - 106px - 48px);
height: calc(${defaultHeight} - 50px);
&& {
.ant-tabs-content-holder {
Expand Down

0 comments on commit e034bce

Please sign in to comment.