Vertically center Kanban card titles in compact mode (#7391)
This PR addresses the issue of[ Kanban card titles not being vertically centered in compact mode](https://github.com/twentyhq/twenty/issues/7385). The following changes have been made: Updated CSS styles to ensure that titles are properly aligned vertically within their respective cards when in compact mode. Enhanced overall readability and aesthetics of the Kanban board. #7385  Co-authored-by: Nitin Koche <nitinkoche03@gmail.com>
This commit is contained in:
committed by
GitHub
parent
b39d262058
commit
2e962f8e0e
@ -86,7 +86,7 @@ export const StyledBoardCardHeader = styled.div<{
|
||||
font-weight: ${({ theme }) => theme.font.weight.medium};
|
||||
height: 24px;
|
||||
padding-bottom: ${({ theme, showCompactView }) =>
|
||||
theme.spacing(showCompactView ? 0 : 1)};
|
||||
theme.spacing(showCompactView ? 2 : 1)};
|
||||
padding-left: ${({ theme }) => theme.spacing(2)};
|
||||
padding-right: ${({ theme }) => theme.spacing(2)};
|
||||
padding-top: ${({ theme }) => theme.spacing(2)};
|
||||
|
||||
Reference in New Issue
Block a user