mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-10 21:00:59 +01:00
dce6425913
This changeset reverts [55898] which removed redundant `px` units in a few inline styles, because 1) The values in the block comment and the style attribute needs to match ; 2) The block control does not accept unitless values. Follow-up to [54312], [54629], [55898]. Props TobiasBg, poena, oglekler. See #58485. Built from https://develop.svn.wordpress.org/trunk@56253 git-svn-id: http://core.svn.wordpress.org/trunk@55765 1a063a9b-81f0-0310-95a4-ce76da25c4cd
58 lines
2.1 KiB
PHP
58 lines
2.1 KiB
PHP
<?php
|
|
/**
|
|
* Title: Hidden Comments
|
|
* Slug: twentytwentythree/hidden-comments
|
|
* Inserter: no
|
|
*/
|
|
?>
|
|
<!-- wp:group {"layout":{"type":"constrained"},"style":{"spacing":{"padding":{"top":"var:preset|spacing|40","right":"var:preset|spacing|40","bottom":"var:preset|spacing|40","left":"var:preset|spacing|40"}}}} -->
|
|
<div class="wp-block-group" style="padding-top:var(--wp--preset--spacing--40);padding-right:var(--wp--preset--spacing--40);padding-bottom:var(--wp--preset--spacing--40);padding-left:var(--wp--preset--spacing--40)">
|
|
<!-- wp:comments -->
|
|
<div class="wp-block-comments">
|
|
<!-- wp:heading {"level":2} -->
|
|
<h2><?php echo esc_html_x( 'Comments', 'Title of comments section', 'twentytwentythree' ); ?></h2>
|
|
<!-- /wp:heading -->
|
|
|
|
<!-- wp:comments-title {"level":3} /-->
|
|
|
|
<!-- wp:comment-template -->
|
|
<!-- wp:columns {"style":{"spacing":{"margin":{"bottom":"var:preset|spacing|40"}}}} -->
|
|
<div class="wp-block-columns" style="margin-bottom:var(--wp--preset--spacing--40)">
|
|
<!-- wp:column {"width":"40px"} -->
|
|
<div class="wp-block-column" style="flex-basis:40px">
|
|
<!-- wp:avatar {"size":40,"style":{"border":{"radius":"20px"}}} /-->
|
|
</div>
|
|
<!-- /wp:column -->
|
|
|
|
<!-- wp:column -->
|
|
<div class="wp-block-column">
|
|
<!-- wp:comment-author-name /-->
|
|
|
|
<!-- wp:group {"style":{"spacing":{"margin":{"top":"0px","bottom":"0px"}}},"layout":{"type":"flex"}} -->
|
|
<div class="wp-block-group" style="margin-top:0px;margin-bottom:0px">
|
|
<!-- wp:comment-date /-->
|
|
<!-- wp:comment-edit-link /-->
|
|
</div>
|
|
<!-- /wp:group -->
|
|
|
|
<!-- wp:comment-content /-->
|
|
|
|
<!-- wp:comment-reply-link /-->
|
|
</div>
|
|
<!-- /wp:column -->
|
|
</div>
|
|
<!-- /wp:columns -->
|
|
<!-- /wp:comment-template -->
|
|
|
|
<!-- wp:comments-pagination {"paginationArrow":"arrow","layout":{"type":"flex","justifyContent":"space-between"}} -->
|
|
<!-- wp:comments-pagination-previous /-->
|
|
<!-- wp:comments-pagination-numbers /-->
|
|
<!-- wp:comments-pagination-next /-->
|
|
<!-- /wp:comments-pagination -->
|
|
|
|
<!-- wp:post-comments-form /-->
|
|
</div>
|
|
<!-- /wp:comments -->
|
|
</div>
|
|
<!-- /wp:group -->
|