Skip to content

Commit

Permalink
fix: improve styling for a section in edit component
Browse files Browse the repository at this point in the history
  • Loading branch information
Wojciech Krysiak authored and Wojciech Krysiak committed Sep 23, 2020
1 parent 3f33e82 commit 6dea8c0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/frontend/components/property-type/array/edit.tsx
Expand Up @@ -44,8 +44,9 @@ const ItemRenderer: React.FC<Props & ItemRendererProps> = (props) => {
}}
/>
</Box>
<Box flexShrink={0}>
<Box flexShrink={0} ml="lg">
<Button
rounded
ml="default"
data-testid="delete-item"
type="button"
Expand Down Expand Up @@ -112,7 +113,7 @@ export default class Edit extends React.Component<Props> {
onDelete={(event): false => this.removeItem(i, event)}
/>
))}
<Button onClick={this.addNew} type="button" size="sm">
<Button onClick={this.addNew} type="button" rounded>
<AddNewItemButton resource={resource} property={property} />
</Button>
</Section>
Expand Down

0 comments on commit 6dea8c0

Please sign in to comment.