Skip to content

Commit

Permalink
fix(form-builder) adjust presence margins in array of primitives
Browse files Browse the repository at this point in the history
  • Loading branch information
Benedicte Emilie Brækken authored and bjoerge committed Apr 8, 2021
1 parent 884f576 commit e5d8770
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -121,14 +121,14 @@ export const ItemRow = React.forwardRef(function ItemRow(

<Flex align="center">
{!readOnly && (
<Box>
<Box marginLeft={2}>
<FormFieldValidationStatus __unstable_markers={markers} />
</Box>
)}

{!type?.title && (
// if title is set on type, presence avatars will be shown in the input' formfield instead
<Box marginLeft={1} style={{minWidth: '1.5em'}}>
<Box marginLeft={3} style={{minWidth: '1.5em'}}>
{!readOnly && presence.length > 0 && (
<FieldPresence presence={presence} maxAvatars={1} />
)}
Expand Down

0 comments on commit e5d8770

Please sign in to comment.