mirror of
https://github.com/twentyhq/twenty.git
synced 2025-01-06 03:45:15 +03:00
Fix visual regressions
This commit is contained in:
parent
08772b4456
commit
943731fed8
@ -196,10 +196,10 @@ const StyledButton = styled.button<
|
||||
`;
|
||||
case 'danger':
|
||||
return `
|
||||
background: 'transparent';
|
||||
background: transparent;
|
||||
border-color: ${
|
||||
variant === 'secondary'
|
||||
? !disabled && theme.color.red20
|
||||
? theme.border.color.danger
|
||||
: focus
|
||||
? theme.color.red
|
||||
: 'transparent'
|
||||
|
@ -52,6 +52,7 @@ const StyledItem = styled.div<StyledItemProps>`
|
||||
margin-bottom: calc(${({ theme }) => theme.spacing(1)} / 2);
|
||||
padding-bottom: ${({ theme }) => theme.spacing(1)};
|
||||
padding-left: ${({ theme }) => theme.spacing(1)};
|
||||
padding-right: ${({ theme }) => theme.spacing(1)};
|
||||
padding-top: ${({ theme }) => theme.spacing(1)};
|
||||
pointer-events: ${(props) => (props.soon ? 'none' : 'auto')};
|
||||
:hover {
|
||||
|
Loading…
Reference in New Issue
Block a user