mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-04-21 02:23:43 +03:00
parent
7b867baff7
commit
2d789427d9
|
@ -44,14 +44,14 @@
|
||||||
<div class="wp-block-column" style="flex-basis:60%">
|
<div class="wp-block-column" style="flex-basis:60%">
|
||||||
<!-- wp:post-content /-->
|
<!-- wp:post-content /-->
|
||||||
|
|
||||||
<!-- wp:separator {"className":"is-style-wide","style":{"spacing":{"margin":{"top":"var:preset|spacing|30","bottom":"var:preset|spacing|20"}}},"backgroundColor":"black-opacity-15"} -->
|
<!-- wp:separator {"className":"is-style-wide","style":{"spacing":{"margin":{"top":"var:preset|spacing|30","bottom":"var:preset|spacing|30"}},"color":{"background":"#00000012"}}} -->
|
||||||
<hr class="wp-block-separator has-text-color has-black-opacity-15-color has-alpha-channel-opacity has-black-opacity-15-background-color has-background is-style-wide" style="margin-top:var(--wp--preset--spacing--30);margin-bottom:var(--wp--preset--spacing--20)"/>
|
<hr class="wp-block-separator has-text-color has-alpha-channel-opacity has-background is-style-wide" style="margin-top:var(--wp--preset--spacing--30);margin-bottom:var(--wp--preset--spacing--30);background-color:#00000012;color:#00000012"/>
|
||||||
<!-- /wp:separator -->
|
<!-- /wp:separator -->
|
||||||
|
|
||||||
<!-- wp:buttons {"style":{"spacing":{"blockGap":"5px"}}} -->
|
<!-- wp:buttons -->
|
||||||
<div class="wp-block-buttons">
|
<div class="wp-block-buttons">
|
||||||
<!-- wp:button -->
|
<!-- wp:button -->
|
||||||
<div class="wp-block-button is-style-text is-destructive is-small">
|
<div class="wp-block-button is-style-outline is-destructive is-small">
|
||||||
<a class="wp-block-button__link wp-element-button" href="<?php echo esc_url( home_url( '/report/' ) ); ?>"><?php esc_html_e( 'Report a problem', 'wporg-5ftf' ); ?></a>
|
<a class="wp-block-button__link wp-element-button" href="<?php echo esc_url( home_url( '/report/' ) ); ?>"><?php esc_html_e( 'Report a problem', 'wporg-5ftf' ); ?></a>
|
||||||
</div>
|
</div>
|
||||||
<!-- /wp:button -->
|
<!-- /wp:button -->
|
||||||
|
|
|
@ -44,7 +44,7 @@ function render( $attributes, $content, $block ) {
|
||||||
$html->next_tag( 'button' );
|
$html->next_tag( 'button' );
|
||||||
$html->add_class( 'wp-block-button__link' );
|
$html->add_class( 'wp-block-button__link' );
|
||||||
|
|
||||||
$wrapper_attributes = get_block_wrapper_attributes( [ 'class' => 'wp-block-button is-style-text is-small' ]);
|
$wrapper_attributes = get_block_wrapper_attributes( [ 'class' => 'wp-block-button is-style-outline is-small' ]);
|
||||||
return sprintf(
|
return sprintf(
|
||||||
'<div %s>%s</div>',
|
'<div %s>%s</div>',
|
||||||
$wrapper_attributes,
|
$wrapper_attributes,
|
||||||
|
|
Loading…
Reference in a new issue