Lineup: Fix header alignment and translate functions (#7292)

This commit is contained in:
Takashi Irie 2023-08-07 12:37:27 +02:00 committed by GitHub
parent 89e3b7abfd
commit 313ec2b0e1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 6 deletions

View file

@ -1,7 +1,7 @@
<!-- wp:group {"style":{"spacing":{"padding":{"top":"0","right":"var:preset|spacing|50","bottom":"var:preset|spacing|50","left":"var:preset|spacing|50"}}},"layout":{"type":"constrained"}} -->
<!-- wp:group {"style":{"spacing":{"padding":{"top":"0","right":"var:preset|spacing|50","bottom":"var:preset|spacing|50","left":"var:preset|spacing|50"}}},"layout":{"type":"default"}} -->
<div class="wp-block-group" style="padding-top:0;padding-right:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--50);padding-left:var(--wp--preset--spacing--50)">
<!-- wp:group {"align":"full","style":{"spacing":{"blockGap":"var:preset|spacing|40"}},"layout":{"type":"flex","justifyContent":"space-between"}} -->
<div class="wp-block-group alignfull">
<!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|40"}},"layout":{"type":"flex","justifyContent":"space-between"}} -->
<div class="wp-block-group">
<!-- wp:site-title /-->
<!-- wp:navigation {"overlayBackgroundColor":"base","overlayTextColor":"contrast","layout":{"type":"flex","setCascadingProperties":true,"justifyContent":"right","orientation":"horizontal"},"style":{"spacing":{"margin":{"top":"0"},"blockGap":"var:preset|spacing|40"}}} /-->

View file

@ -5,7 +5,6 @@
* Inserter: no
*/
?>
<!-- wp:heading {"level":1,"anchor":"nothing-found"} -->
<h1 class="wp-block-heading" id="nothing-found"><?php echo esc_html_x( 'Nothing found. Search?', 'lineup' ); ?></h1>
<h1 class="wp-block-heading" id="nothing-found"><?php echo esc_html__( 'Nothing found. Search?', 'lineup' ); ?></h1>
<!-- /wp:heading -->

View file

@ -6,5 +6,5 @@
*/
?>
<!-- wp:paragraph -->
<p><?php echo esc_html_x( 'Nothing found.', 'lineup' ); ?></p>
<p><?php echo esc_html__( 'Nothing found.', 'lineup' ); ?></p>
<!-- /wp:paragraph -->