Skip to content

Commit 2e962f8

Browse files
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](#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 <[email protected]>
1 parent b39d262 commit 2e962f8

File tree

1 file changed

+1
-1
lines changed
  • packages/twenty-front/src/modules/object-record/record-board/record-board-card/components

1 file changed

+1
-1
lines changed

packages/twenty-front/src/modules/object-record/record-board/record-board-card/components/RecordBoardCard.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ export const StyledBoardCardHeader = styled.div<{
8686
font-weight: ${({ theme }) => theme.font.weight.medium};
8787
height: 24px;
8888
padding-bottom: ${({ theme, showCompactView }) =>
89-
theme.spacing(showCompactView ? 0 : 1)};
89+
theme.spacing(showCompactView ? 2 : 1)};
9090
padding-left: ${({ theme }) => theme.spacing(2)};
9191
padding-right: ${({ theme }) => theme.spacing(2)};
9292
padding-top: ${({ theme }) => theme.spacing(2)};

0 commit comments

Comments
 (0)