@@ -341,7 +341,8 @@ registerBlockType('ctc-lite/ctc-lite-checkout-block', {
341
341
setAttributes ( { contFormDis :false } )
342
342
} , style : { backgroundColor : attributes . buttonColor , display :"inline-block" , float :"left" } , className : 'ctcl-checkout-button' } , __ ( "Back" , 'ctc-lite' ) ) ,
343
343
el ( Button , { style : { backgroundColor : attributes . buttonColor , display :"inline-block" , float :"right" } , className : 'ctcl-checkout-button' } , __ ( "Check Out" , 'ctc-lite' ) ) ,
344
- )
344
+ ) ,
345
+
345
346
) ,
346
347
el ( PluginSidebar , { name : 'ctcl-checkout' , icon : 'store' , title : __ ( 'Checkout page setting' , 'ctc-lite' ) } ,
347
348
el ( PanelBody , null ,
@@ -442,7 +443,9 @@ registerBlockType('ctc-lite/ctc-lite-checkout-block', {
442
443
443
444
el ( 'button' , { style : { backgroundColor : attributes . buttonColor , display :"inline-block" , float :"left" } , className : 'ctcl-checkout-back' , } , __ ( "Back" , 'ctc-lite' ) ) ,
444
445
el ( 'input' , { type : 'submit' , name : 'ctcl-checkout-button' , style : { backgroundColor : attributes . buttonColor , display :"inline-block" , float :"right" } , className : 'ctcl-checkout-button' , value : __ ( "Check Out" , 'ctc-lite' ) } ) ,
445
- ) ,
446
+
447
+ ) ,
448
+ el ( 'br' , { } ) ,
446
449
) ,
447
450
) ,
448
451
)
@@ -584,7 +587,7 @@ registerBlockType('ctc-lite/ctcl-image-gallery', {
584
587
585
588
586
589
} ,
587
- save : ( { attributes } ) => el ( 'div' , { style :{ height :attributes . mainImgHt + 'px' , width :attributes . mainImgWd + 'px' } , className : 'ctcl-image-gallery' } ,
590
+ save : ( { attributes } ) => el ( 'div' , { style :{ height :attributes . mainImgHt + 'px' , width :attributes . mainImgWd + 'px' , opacity : 0 } , className : 'ctcl-image-gallery' , } ,
588
591
589
592
attributes . galItems . map ( ( x , i ) => el ( 'img' , { className : 'ctclg-gal-img' , id : `ctclif-gal-img-${ attributes . clntId } -${ i } ` , 'data-ts' : `${ attributes . clntId } ` , 'data-image-num' : `${ i } ` , key : i , title : x . caption , src : x . url } ) ) ) ,
590
593
0 commit comments