Fix 0.32 bis (#8346)

Various UI fixes according to discussions with Design team
This commit is contained in:
Charles Bochet
2024-11-05 18:14:44 +01:00
committed by GitHub
parent 3793f6c451
commit 88ba057b2c
12 changed files with 50 additions and 18 deletions

View File

@ -8,6 +8,7 @@ import {
IconChevronUp,
IconComponent,
IconX,
LightIconButton,
MOBILE_VIEWPORT,
OverflowingTextWithTooltip,
} from 'twenty-ui';
@ -119,10 +120,10 @@ export const PageHeader = ({
</StyledTopBarButtonContainer>
)}
{hasClosePageButton && (
<IconButton
<LightIconButton
Icon={IconX}
size="small"
variant="tertiary"
accent="tertiary"
onClick={() => onClosePage?.()}
/>
)}

View File

@ -12,6 +12,7 @@ type TopBarProps = {
const StyledContainer = styled.div`
border-bottom: ${({ theme }) => `1px solid ${theme.border.color.light}`};
display: flex;
margin-left: ${({ theme }) => theme.spacing(2)};
flex-direction: column;
`;
@ -27,7 +28,6 @@ const StyledTopBar = styled.div`
height: 39px;
justify-content: space-between;
padding-right: ${({ theme }) => theme.spacing(2)};
padding-left: ${({ theme }) => theme.spacing(2)};
z-index: 7;
`;