File tree Expand file tree Collapse file tree
packages/media-utils/src/components/media-upload-modal Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -285,26 +285,24 @@ export function MediaUploadModal( {
285285 onRequestClose = { handleModalClose }
286286 isDismissible = { isDismissible }
287287 className = { modalClass }
288- size = "large "
288+ size = "fill "
289289 >
290- < div style = { { height : '70vh' , padding : '0' } } >
291- < DataViewsPicker
292- data = { mediaItems }
293- fields = { fields }
294- view = { view }
295- onChangeView = { setView }
296- actions = { actions }
297- selection = { selection }
298- onChangeSelection = { handleSelectionChange }
299- isLoading = { isLoading }
300- paginationInfo = { paginationInfo }
301- defaultLayouts = { defaultLayouts }
302- getItemId = { ( item : Attachment ) => String ( item . id ) }
303- search = { search }
304- searchLabel = { searchLabel }
305- itemListLabel = { __ ( 'Media items' ) }
306- />
307- </ div >
290+ < DataViewsPicker
291+ data = { mediaItems }
292+ fields = { fields }
293+ view = { view }
294+ onChangeView = { setView }
295+ actions = { actions }
296+ selection = { selection }
297+ onChangeSelection = { handleSelectionChange }
298+ isLoading = { isLoading }
299+ paginationInfo = { paginationInfo }
300+ defaultLayouts = { defaultLayouts }
301+ getItemId = { ( item : Attachment ) => String ( item . id ) }
302+ search = { search }
303+ searchLabel = { searchLabel }
304+ itemListLabel = { __ ( 'Media items' ) }
305+ />
308306 </ Modal >
309307 ) ;
310308}
You can’t perform that action at this time.
0 commit comments