3961-Notes-Relation-Field (#3965)

* Label fix

* Remove semicolumn

* Fix broken layout

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
This commit is contained in:
Kanav Arora
2024-02-26 01:55:44 +05:30
committed by GitHub
parent d14bb2ea11
commit c8e4da5394
3 changed files with 4 additions and 4 deletions

View File

@ -39,6 +39,7 @@ export const ActivityTargetsInlineCell = ({
scope: ActivityEditorHotkeyScope.ActivityTargets,
}}
IconLabel={IconArrowUpRight}
showLabel={true}
editModeContent={
<ActivityTargetInlineCellEditMode
activity={activity}

View File

@ -62,7 +62,7 @@ const StyledClickableContainer = styled.div`
const StyledInlineCellBaseContainer = styled.div`
align-items: center;
box-sizing: border-box;
width: 100%;
display: flex;
gap: ${({ theme }) => theme.spacing(1)};
@ -141,7 +141,7 @@ export const RecordInlineCellContainer = ({
onMouseEnter={handleContainerMouseEnter}
onMouseLeave={handleContainerMouseLeave}
>
{(!!IconLabel || !!label) && (
{(IconLabel || label) && (
<StyledLabelAndIconContainer id={labelId}>
{IconLabel && (
<StyledIconContainer>
@ -160,7 +160,7 @@ export const RecordInlineCellContainer = ({
content={label}
clickable
noArrow
place="left"
place="bottom"
positionStrategy="fixed"
/>
)}

View File

@ -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)`