File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -320,7 +320,8 @@ const BootstrapColumnEdit = ( {
320320 ) }
321321 onChange = { ( newContentVerticalAlignment ) =>
322322 setAttributes ( {
323- contentVerticalAlignment : newContentVerticalAlignment ,
323+ contentVerticalAlignment :
324+ newContentVerticalAlignment ,
324325 } )
325326 }
326327 alignmentControls = { contentVerticalAlignmentControls }
Original file line number Diff line number Diff line change @@ -391,32 +391,35 @@ const BootstrapRowEdit = ( {
391391 title = { __ ( 'Change layout' , 'wp-bootstrap-blocks' ) }
392392 >
393393 < ul className = "wp-bootstrap-blocks-template-selector-list" >
394- { templates . map ( (
395- template ,
396- index // eslint-disable-line no-shadow
397- ) => (
398- < li
399- className = "wp-bootstrap-blocks-template-selector-button"
400- key = { index }
401- >
402- < IconButton
403- label = { template . title }
404- icon = { template . icon }
405- onClick = { ( ) => {
406- onTemplateChange ( template . name ) ;
407- } }
408- className = {
409- selectedTemplateName === template . name
410- ? 'is-active'
411- : null
412- }
394+ { templates . map (
395+ (
396+ template ,
397+ index // eslint-disable-line no-shadow
398+ ) => (
399+ < li
400+ className = "wp-bootstrap-blocks-template-selector-button"
401+ key = { index }
413402 >
414- < div className = "wp-bootstrap-blocks-template-selector-button-label" >
415- { template . title }
416- </ div >
417- </ IconButton >
418- </ li >
419- ) ) }
403+ < IconButton
404+ label = { template . title }
405+ icon = { template . icon }
406+ onClick = { ( ) => {
407+ onTemplateChange ( template . name ) ;
408+ } }
409+ className = {
410+ selectedTemplateName ===
411+ template . name
412+ ? 'is-active'
413+ : null
414+ }
415+ >
416+ < div className = "wp-bootstrap-blocks-template-selector-button-label" >
417+ { template . title }
418+ </ div >
419+ </ IconButton >
420+ </ li >
421+ )
422+ ) }
420423 </ ul >
421424 </ PanelBody >
422425 < PanelBody title = { __ ( 'Row options' , 'wp-bootstrap-blocks' ) } >
You can’t perform that action at this time.
0 commit comments