Skip to content

Commit

Permalink
[field] Use grid layout for reference changes
Browse files Browse the repository at this point in the history
  • Loading branch information
mariuslundgard authored and rexxars committed Oct 6, 2020
1 parent 515acdc commit 5617f1b
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ import {ReferencePreview} from '../preview/ReferencePreview'
export const ReferenceFieldDiff: DiffComponent<ReferenceDiff> = ({diff, schemaType}) => {
return (
<Change
previewComponent={ReferencePreview}
layout={diff.fromValue && diff.toValue ? 'grid' : 'inline'}
path="_ref"
diff={diff}
layout="grid"
path="_ref"
previewComponent={ReferencePreview}
schemaType={schemaType}
/>
)
Expand Down

0 comments on commit 5617f1b

Please sign in to comment.