fixed issue Refine Settings Layout (#3429)

* fixed issue Refine Settings Layout

* fixed width and issue

* Fix according to review

* Fix

* Fix

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
This commit is contained in:
Irfan K
2024-01-17 15:54:52 +01:00
committed by GitHub
co-authored by Charles Bochet
parent f3c9854be3
commit ba038a4a83
11 changed files with 92 additions and 50 deletions
@@ -1,6 +1,6 @@
import styled from '@emotion/styled';
import { objectSettingsWidth } from '../data-model/constants/objectSettings';
import { objectSettingsWidth } from '@/settings/data-model/constants/objectSettings';
const StyledSettingsPageContainer = styled.div<{ width?: number }>`
display: flex;
@@ -8,7 +8,7 @@ const StyledSettingsPageContainer = styled.div<{ width?: number }>`
gap: ${({ theme }) => theme.spacing(8)};
overflow: auto;
padding: ${({ theme }) => theme.spacing(8)};
width: ${({ width }) => (width ? width + 'px' : objectSettingsWidth)};
width: ${({ width }) => (width ? width + 'px' : objectSettingsWidth + 'px')};
`;
export { StyledSettingsPageContainer as SettingsPageContainer };