From c8e4da5394cbd11917128265cf36f2f42648a82a Mon Sep 17 00:00:00 2001 From: Kanav Arora Date: Mon, 26 Feb 2024 01:55:44 +0530 Subject: [PATCH] 3961-Notes-Relation-Field (#3965) * Label fix * Remove semicolumn * Fix broken layout --------- Co-authored-by: Charles Bochet --- .../inline-cell/components/ActivityTargetsInlineCell.tsx | 1 + .../components/RecordInlineCellContainer.tsx | 6 +++--- .../ui/layout/show-page/components/ShowPageSummaryCard.tsx | 1 - 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/twenty-front/src/modules/activities/inline-cell/components/ActivityTargetsInlineCell.tsx b/packages/twenty-front/src/modules/activities/inline-cell/components/ActivityTargetsInlineCell.tsx index 3b8b473a9..d1b09c737 100644 --- a/packages/twenty-front/src/modules/activities/inline-cell/components/ActivityTargetsInlineCell.tsx +++ b/packages/twenty-front/src/modules/activities/inline-cell/components/ActivityTargetsInlineCell.tsx @@ -39,6 +39,7 @@ export const ActivityTargetsInlineCell = ({ scope: ActivityEditorHotkeyScope.ActivityTargets, }} IconLabel={IconArrowUpRight} + showLabel={true} editModeContent={ theme.spacing(1)}; @@ -141,7 +141,7 @@ export const RecordInlineCellContainer = ({ onMouseEnter={handleContainerMouseEnter} onMouseLeave={handleContainerMouseLeave} > - {(!!IconLabel || !!label) && ( + {(IconLabel || label) && ( {IconLabel && ( @@ -160,7 +160,7 @@ export const RecordInlineCellContainer = ({ content={label} clickable noArrow - place="left" + place="bottom" positionStrategy="fixed" /> )} diff --git a/packages/twenty-front/src/modules/ui/layout/show-page/components/ShowPageSummaryCard.tsx b/packages/twenty-front/src/modules/ui/layout/show-page/components/ShowPageSummaryCard.tsx index 5eb2406bc..0665e3e69 100644 --- a/packages/twenty-front/src/modules/ui/layout/show-page/components/ShowPageSummaryCard.tsx +++ b/packages/twenty-front/src/modules/ui/layout/show-page/components/ShowPageSummaryCard.tsx @@ -47,7 +47,6 @@ const StyledTitle = styled.div` font-size: ${({ theme }) => theme.font.size.xl}; font-weight: ${({ theme }) => theme.font.weight.semiBold}; justify-content: center; - width: 100%; `; const StyledTooltip = styled(Tooltip)`