Removed the boxes around fields on shows and side panel (#4032)
#3963 removed border and padding Co-authored-by: Charles Bochet <charles@twenty.com>
This commit is contained in:
@ -40,7 +40,7 @@ const StyledTopContainer = styled.div`
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 24px;
|
||||
padding: 24px 24px 24px 48px;
|
||||
padding: ${({ theme }) => theme.spacing(6)};
|
||||
`;
|
||||
|
||||
type ActivityEditorProps = {
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
import styled from '@emotion/styled';
|
||||
import { useRecoilState } from 'recoil';
|
||||
|
||||
import { useUpsertActivity } from '@/activities/hooks/useUpsertActivity';
|
||||
@ -13,6 +14,10 @@ import { RecordInlineCell } from '@/object-record/record-inline-cell/components/
|
||||
import { PropertyBox } from '@/object-record/record-inline-cell/property-box/components/PropertyBox';
|
||||
import { recordStoreFamilyState } from '@/object-record/record-store/states/recordStoreFamilyState';
|
||||
|
||||
const StyledPropertyBox = styled(PropertyBox)`
|
||||
padding: 0;
|
||||
`;
|
||||
|
||||
export const ActivityEditorFields = ({
|
||||
activityId,
|
||||
}: {
|
||||
@ -69,7 +74,7 @@ export const ActivityEditorFields = ({
|
||||
});
|
||||
|
||||
return (
|
||||
<PropertyBox>
|
||||
<StyledPropertyBox>
|
||||
{activity.type === 'Task' &&
|
||||
DueAtFieldContextProvider &&
|
||||
AssigneeFieldContextProvider && (
|
||||
@ -87,6 +92,6 @@ export const ActivityEditorFields = ({
|
||||
<ActivityTargetsInlineCell activity={activity} />
|
||||
</ActivityTargetsContextProvider>
|
||||
)}
|
||||
</PropertyBox>
|
||||
</StyledPropertyBox>
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user