mirror of
https://github.com/twentyhq/twenty.git
synced 2024-11-22 21:50:43 +03:00
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 ![after-fix](https://github.com/user-attachments/assets/0d88d3c9-5f41-42de-a7a6-9434fd65bd38) Co-authored-by: Nitin Koche <nitinkoche03@gmail.com>
This commit is contained in:
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)};
|
||||
|
Loading…
Reference in New Issue
Block a user