mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 17:48:01 +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
30 lines
1.5 KiB
HTML
30 lines
1.5 KiB
HTML
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
|
|
|
|
<!-- wp:group {"tagName":"main","layout":{"type":"constrained"}} -->
|
|
<main class="wp-block-group">
|
|
<!-- wp:query {"query":{"perPage":3,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":false},"align":"wide","layout":{"type":"default"}} -->
|
|
<div class="wp-block-query alignwide">
|
|
<!-- wp:post-template -->
|
|
<!-- wp:columns {"style":{"border":{"bottom":{"width":"1px"}},"spacing":{"padding":{"top":"var:preset|spacing|40","bottom":"var:preset|spacing|40"},"margin":{"top":"-1.5rem","bottom":"0px"}}}} -->
|
|
<div class="wp-block-columns" style="border-bottom-width:1px;margin-top:-1.5rem;margin-bottom:0px;padding-top:var(--wp--preset--spacing--40);padding-bottom:var(--wp--preset--spacing--40)">
|
|
<!-- wp:column {"verticalAlignment":"center","width":"20%"} -->
|
|
<div class="wp-block-column is-vertically-aligned-center" style="flex-basis:20%">
|
|
<!-- wp:post-date {"textAlign":"left"} /-->
|
|
</div>
|
|
<!-- /wp:column -->
|
|
|
|
<!-- wp:column {"verticalAlignment":"center","width":"80%"} -->
|
|
<div class="wp-block-column is-vertically-aligned-center" style="flex-basis:80%">
|
|
<!-- wp:post-title {"isLink":true} /-->
|
|
</div>
|
|
<!-- /wp:column -->
|
|
</div>
|
|
<!-- /wp:columns -->
|
|
<!-- /wp:post-template -->
|
|
</div>
|
|
<!-- /wp:query -->
|
|
</main>
|
|
<!-- /wp:group -->
|
|
|
|
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->
|