Fix padding EditableCell DoubleText
This commit is contained in:
@ -17,11 +17,15 @@ export type OwnProps = {
|
||||
export function PeopleCompanyCell({ people }: OwnProps) {
|
||||
const [isCreating] = useRecoilScopedState(isCreateModeScopedState);
|
||||
|
||||
return isCreating ? (
|
||||
<PeopleCompanyCreateCell people={people} />
|
||||
) : (
|
||||
return (
|
||||
<EditableCellV2
|
||||
editModeContent={<PeopleCompanyPicker people={people} />}
|
||||
editModeContent={
|
||||
isCreating ? (
|
||||
<PeopleCompanyCreateCell people={people} />
|
||||
) : (
|
||||
<PeopleCompanyPicker people={people} />
|
||||
)
|
||||
}
|
||||
nonEditModeContent={
|
||||
<CompanyChip
|
||||
name={people.company?.name ?? ''}
|
||||
|
||||
@ -13,6 +13,7 @@ export const textInputStyle = (props: any) =>
|
||||
border: none;
|
||||
color: ${props.theme.text80};
|
||||
outline: none;
|
||||
padding: ${props.theme.spacing(0)} ${props.theme.spacing(2)};
|
||||
|
||||
&::placeholder,
|
||||
&::-webkit-input-placeholder {
|
||||
|
||||
Reference in New Issue
Block a user