Skip to content

Commit

Permalink
metadates: use row variation of group block #72
Browse files Browse the repository at this point in the history
  • Loading branch information
bobbingwide committed Jan 8, 2022
1 parent f607b8a commit 3d50873
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 24 deletions.
4 changes: 2 additions & 2 deletions block-template-parts/metadates.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!-- wp:group {"layout":{"inherit":true}} -->
<div class="wp-block-group">
<!-- wp:group {"className":"is-style-flexed","layout":{"inherit":false}} -->
<div class="wp-block-group is-style-flexed"><!-- wp:paragraph {"fontSize":"small"} -->
<!-- wp:group {"layout":{"type":"flex","justifyContent":"left"}} -->
<div class="wp-block-group"><!-- wp:paragraph {"fontSize":"small"} -->
<p class="has-small-font-size">Published:</p>
<!-- /wp:paragraph -->

Expand Down
23 changes: 1 addition & 22 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -708,38 +708,17 @@ footer {
}

/**
Fizzie's equivalent of Written's .is-style-flexed
Fizzie's equivalent of Written's .is-style-flexed is now implemented using the row variation of the core/group block.
*/
.metadates,
.is-style-flexed.wp-block-group {
display: flex;
justify-content: left;

}


.metadates p,
.is-style-flexed p,
span.post_modified {
font-size: var(--wp--preset--font-size--small);
}


.wp-block-post-date,
span.post_modified {
margin: 0 10px 0 0;
}

div.wp-block-oik-sb-sb-post-edit-block {
margin: 0 0;
}

.metadates p,
.is-style-flexed p,
.is-style-flexed div,
.is-style-griddled p {
margin: 0 10px 0 0;
}

/**
Add a bottom-margin to each post in the post-template list
Expand Down

0 comments on commit 3d50873

Please sign in to comment.