This commit is contained in:
@@ -47,7 +47,7 @@ $wrapper = blockWrapperAttributes( $classes, $is_preview );
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ( ! empty( $ctas ) ) : ?>
|
||||
<div class="reset mt-4 sm:mt-6 flex flex-wrap justify-center lg:justify-start gap-2">
|
||||
<div class="reset mt-4 sm:mt-6 flex flex-wrap justify-center lg:justify-start gap-4">
|
||||
<?php foreach ( $ctas as $index => $cta ) : ?>
|
||||
<?php
|
||||
$ctaLink = $cta['link'];
|
||||
@@ -66,12 +66,10 @@ $wrapper = blockWrapperAttributes( $classes, $is_preview );
|
||||
url="<?php echo esc_url( $ctaURL ); ?>"
|
||||
target="<?php echo esc_attr( $ctaTarget ); ?>"
|
||||
title="<?php echo esc_attr( $ctaTitle ); ?>"
|
||||
<?php if ( $index === 0 ) { ?>
|
||||
color="primary"
|
||||
<?php } else { ?>
|
||||
color="primary" variant="outline"
|
||||
<?php if ( $index !== 0 ) { ?>
|
||||
variant="outline"
|
||||
<?php } ?>
|
||||
width="small"
|
||||
></x-button>
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user