fix(): several ui improvements (#10556)
Close #10531 --------- Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com> Co-authored-by: Etienne <45695613+etiennejouan@users.noreply.github.com> Co-authored-by: Raphaël Bosi <71827178+bosiraphael@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Crowdin Bot <support+bot@crowdin.com> Co-authored-by: github-actions <github-actions@twenty.com>
This commit is contained in:
@ -24,10 +24,6 @@ const StyledCard = styled(Card)<{
|
||||
cursor: ${({ disabled, onClick }) =>
|
||||
disabled ? 'not-allowed' : onClick ? 'pointer' : 'default'};
|
||||
width: 100%;
|
||||
& :hover {
|
||||
background-color: ${({ theme }) => theme.background.quaternary};
|
||||
cursor: pointer;
|
||||
}
|
||||
`;
|
||||
|
||||
const StyledCardContent = styled(CardContent)<object>`
|
||||
@ -35,6 +31,11 @@ const StyledCardContent = styled(CardContent)<object>`
|
||||
flex-direction: column;
|
||||
gap: ${({ theme }) => theme.spacing(2)};
|
||||
padding: ${({ theme }) => theme.spacing(2, 2)};
|
||||
|
||||
&:hover {
|
||||
background-color: ${({ theme }) => theme.background.quaternary};
|
||||
cursor: pointer;
|
||||
}
|
||||
`;
|
||||
|
||||
const StyledHeader = styled.div`
|
||||
|
||||
@ -23,6 +23,7 @@ const StyledSettingsPageContainer = styled.div<{
|
||||
return OBJECT_SETTINGS_WIDTH + 'px';
|
||||
}};
|
||||
padding-bottom: ${({ theme }) => theme.spacing(20)};
|
||||
height: 100%;
|
||||
`;
|
||||
|
||||
export const SettingsPageContainer = ({
|
||||
|
||||
Reference in New Issue
Block a user