Skip to content

Commit

Permalink
fix(core): change modalWidth of inlineObjects to 1 by default (#5839)
Browse files Browse the repository at this point in the history
* fix(core): change modalWidth of reference to 1 by default

* fix(core): add default width of inlineObject to be 1
  • Loading branch information
ninaandal committed Feb 28, 2024
1 parent 5d060af commit 6e551b0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export function ObjectEditModal(props: {
onClose()
}, [onClose])

const modalWidth = schemaModalOption?.width
const modalWidth = schemaModalOption?.width || 1

if (modalType === 'popover') {
return (
Expand Down

0 comments on commit 6e551b0

Please sign in to comment.