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:
@ -26,14 +26,11 @@ const StyledAmount = styled.div`
|
|||||||
|
|
||||||
const StyledNumChildren = styled.div`
|
const StyledNumChildren = styled.div`
|
||||||
align-items: center;
|
align-items: center;
|
||||||
background-color: ${({ theme }) => theme.background.tertiary};
|
|
||||||
border-radius: ${({ theme }) => theme.border.radius.rounded};
|
|
||||||
color: ${({ theme }) => theme.font.color.tertiary};
|
color: ${({ theme }) => theme.font.color.tertiary};
|
||||||
display: flex;
|
display: flex;
|
||||||
height: 24px;
|
height: 24px;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
line-height: ${({ theme }) => theme.text.lineHeight.lg};
|
line-height: ${({ theme }) => theme.text.lineHeight.lg};
|
||||||
margin-left: auto;
|
|
||||||
width: 16px;
|
width: 16px;
|
||||||
`;
|
`;
|
||||||
|
|
||||||
@ -93,9 +90,7 @@ export const RecordBoardColumnHeader = () => {
|
|||||||
text={columnDefinition.title}
|
text={columnDefinition.title}
|
||||||
/>
|
/>
|
||||||
{!!boardColumnTotal && <StyledAmount>${boardColumnTotal}</StyledAmount>}
|
{!!boardColumnTotal && <StyledAmount>${boardColumnTotal}</StyledAmount>}
|
||||||
{!isHeaderHovered && (
|
<StyledNumChildren>{recordCount}</StyledNumChildren>
|
||||||
<StyledNumChildren>{recordCount}</StyledNumChildren>
|
|
||||||
)}
|
|
||||||
{isHeaderHovered && columnDefinition.actions.length > 0 && (
|
{isHeaderHovered && columnDefinition.actions.length > 0 && (
|
||||||
<StyledHeaderActions>
|
<StyledHeaderActions>
|
||||||
<LightIconButton
|
<LightIconButton
|
||||||
|
|||||||
Reference in New Issue
Block a user