mirror of
https://github.com/twentyhq/twenty.git
synced 2024-12-25 21:13:01 +03:00
Fix: Number of records design on kanban (#6313)
Fixes #6306 On hover, the VerticalDots icons will appear but the number of records won't disappear.
This commit is contained in:
parent
65e8503da8
commit
8a1af3a2ff
@ -26,14 +26,11 @@ const StyledAmount = styled.div`
|
||||
|
||||
const StyledNumChildren = styled.div`
|
||||
align-items: center;
|
||||
background-color: ${({ theme }) => theme.background.tertiary};
|
||||
border-radius: ${({ theme }) => theme.border.radius.rounded};
|
||||
color: ${({ theme }) => theme.font.color.tertiary};
|
||||
display: flex;
|
||||
height: 24px;
|
||||
justify-content: center;
|
||||
line-height: ${({ theme }) => theme.text.lineHeight.lg};
|
||||
margin-left: auto;
|
||||
width: 16px;
|
||||
`;
|
||||
|
||||
@ -93,9 +90,7 @@ export const RecordBoardColumnHeader = () => {
|
||||
text={columnDefinition.title}
|
||||
/>
|
||||
{!!boardColumnTotal && <StyledAmount>${boardColumnTotal}</StyledAmount>}
|
||||
{!isHeaderHovered && (
|
||||
<StyledNumChildren>{recordCount}</StyledNumChildren>
|
||||
)}
|
||||
{isHeaderHovered && columnDefinition.actions.length > 0 && (
|
||||
<StyledHeaderActions>
|
||||
<LightIconButton
|
||||
|
Loading…
Reference in New Issue
Block a user