Skip to content

The open alternative to Salesforce, designed for AI.

Bug Fix: Decreased border radius of badge and changed badge parent div padding to margin (#7835)

Anis Hamal8368f14fb913
diff --git a/packages/twenty-front/src/modules/activities/timelineActivities/components/EventsGroup.tsx b/packages/twenty-front/src/modules/activities/timelineActivities/components/EventsGroup.tsx
index 430968f4f25..fe368ae9bab 100644
--- a/packages/twenty-front/src/modules/activities/timelineActivities/components/EventsGroup.tsx
+++ b/packages/twenty-front/src/modules/activities/timelineActivities/components/EventsGroup.tsx
@@ -20,8 +20,8 @@ const StyledActivityGroup = styled.div`
`;
const StyledActivityGroupContainer = styled.div`
- padding-bottom: ${({ theme }) => theme.spacing(2)};
- padding-top: ${({ theme }) => theme.spacing(2)};
+ margin-bottom: ${({ theme }) => theme.spacing(3)};
+ margin-top: ${({ theme }) => theme.spacing(3)};
position: relative;
`;
@@ -29,7 +29,7 @@ const StyledActivityGroupBar = styled.div`
align-items: center;
background: ${({ theme }) => theme.background.secondary};
border: 1px solid ${({ theme }) => theme.border.color.light};
- border-radius: ${({ theme }) => theme.border.radius.xl};
+ border-radius: ${({ theme }) => theme.border.radius.md};
display: flex;
flex-direction: column;
height: 100%;
diff --git a/packages/twenty-front/src/modules/ui/layout/show-page/components/ShowPageSubContainer.tsx b/packages/twenty-front/src/modules/ui/layout/show-page/components/ShowPageSubContainer.tsx
index 017f38fd928..d8bf449d6af 100644
--- a/packages/twenty-front/src/modules/ui/layout/show-page/components/ShowPageSubContainer.tsx
+++ b/packages/twenty-front/src/modules/ui/layout/show-page/components/ShowPageSubContainer.tsx
@@ -61,13 +61,13 @@ const StyledGreyBox = styled.div<{ isInRightDrawer: boolean }>`
const StyledButtonContainer = styled.div`
align-items: center;
- bottom: 0;
+ background: ${({ theme }) => theme.background.secondary};
border-top: 1px solid ${({ theme }) => theme.border.color.light};
+ bottom: 0;
+ box-sizing: border-box;
display: flex;
justify-content: flex-end;
padding: ${({ theme }) => theme.spacing(2)};
- width: 100%;
- box-sizing: border-box;
position: absolute;
width: 100%;
`;