Fix RecordDetailSectionHeader spacing (#8997)
Before: <img width="339" alt="Capture d’écran 2024-12-10 à 11 02 30" src="https://github.com/user-attachments/assets/4fd1d598-0efe-4ee9-931e-dd307af21c95"> After: <img width="345" alt="Capture d’écran 2024-12-10 à 11 02 19" src="https://github.com/user-attachments/assets/fb72a661-ac66-43c7-906c-9020171dbf3b">
This commit is contained in:
@ -7,12 +7,11 @@ const StyledHeader = styled.header<{
|
|||||||
areRecordsAvailable?: boolean;
|
areRecordsAvailable?: boolean;
|
||||||
}>`
|
}>`
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
justify-content: space-between;
|
||||||
display: flex;
|
display: flex;
|
||||||
height: 24px;
|
height: 24px;
|
||||||
margin-bottom: ${({ theme, areRecordsAvailable }) =>
|
margin-bottom: ${({ theme, areRecordsAvailable }) =>
|
||||||
areRecordsAvailable && theme.spacing(2)};
|
areRecordsAvailable && theme.spacing(2)};
|
||||||
|
|
||||||
gap: ${({ theme }) => theme.spacing(1)};
|
|
||||||
`;
|
`;
|
||||||
|
|
||||||
const StyledTitle = styled.div`
|
const StyledTitle = styled.div`
|
||||||
|
|||||||
Reference in New Issue
Block a user