834 Design Adjustments for the Record Page Breadcrumb (#11670)
# Design Adjustments for the Record Page Breadcrumb Closes [834](https://github.com/twentyhq/core-team-issues/issues/834) and [826](https://github.com/twentyhq/core-team-issues/issues/826) ## Description - Added the breadcrumb to every object (not just the workflows) - Fixed spacings - Changed icon color from primary to tertiary for proper visual hierarchy - Displayed pagination information (current/total) - Close button has been removed to simplify the UI - Navigate to index page when the breadcrumb is clicked - Fixed problems when two record title cells were displayed at the same time (in the header and in the record page) ## Before <img width="247" alt="Capture d’écran 2025-04-22 à 12 15 34" src="https://github.com/user-attachments/assets/5ca2aca7-ffb0-49ea-8d3a-4bd621d78f8d" /> ## After <img width="233" alt="Capture d’écran 2025-04-22 à 12 15 06" src="https://github.com/user-attachments/assets/cbcb5dfe-d616-47c9-8017-71dd4d388534" />
This commit is contained in:
@ -54,10 +54,10 @@ const StyledTitleContainer = styled.div`
|
||||
display: flex;
|
||||
font-size: ${({ theme }) => theme.font.size.md};
|
||||
font-weight: ${({ theme }) => theme.font.weight.medium};
|
||||
margin-left: ${({ theme }) => theme.spacing(0.5)};
|
||||
margin-right: ${({ theme }) => theme.spacing(1)};
|
||||
width: 100%;
|
||||
overflow: hidden;
|
||||
align-items: center;
|
||||
`;
|
||||
|
||||
const StyledTopBarIconStyledTitleContainer = styled.div`
|
||||
|
||||
Reference in New Issue
Block a user