fix: add hover effect on record table action row (#9633)
Related to this discord follow up https://discord.com/channels/1130383047699738754/1328751649174585427
This commit is contained in:
@ -8,18 +8,26 @@ import { IconComponent } from 'twenty-ui';
|
||||
|
||||
const StyledRecordTableDraggableTr = styled(RecordTableDraggableTr)`
|
||||
cursor: pointer;
|
||||
transition: background-color ${({ theme }) => theme.animation.duration.fast}
|
||||
ease-in-out;
|
||||
|
||||
&:hover {
|
||||
background-color: ${({ theme }) => theme.background.transparent.light};
|
||||
}
|
||||
`;
|
||||
|
||||
const StyledIconContainer = styled(RecordTableTd)`
|
||||
align-items: center;
|
||||
background-color: transparent;
|
||||
border-right: none;
|
||||
color: ${({ theme }) => theme.font.color.secondary};
|
||||
display: flex;
|
||||
height: 32px;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
`;
|
||||
|
||||
const StyledRecordTableTdTextContainer = styled(RecordTableTd)`
|
||||
background-color: transparent;
|
||||
border-right: none;
|
||||
height: 32px;
|
||||
`;
|
||||
|
||||
@ -51,7 +51,7 @@ export const RecordTableDraggableTr = forwardRef<
|
||||
...draggableProvided.draggableProps.style,
|
||||
background: draggableSnapshot.isDragging
|
||||
? theme.background.transparent.light
|
||||
: 'none',
|
||||
: undefined,
|
||||
borderColor: draggableSnapshot.isDragging
|
||||
? `${theme.border.color.medium}`
|
||||
: 'transparent',
|
||||
|
||||
Reference in New Issue
Block a user