Skip to content

Commit

Permalink
Query Total: Add Border Support (#68323)
Browse files Browse the repository at this point in the history
* Query Total: Add Border Support

* Query Total: Add Border Support

Co-authored-by: shail-mehta <shailu25@git.wordpress.org>
Co-authored-by: ramonjd <ramonopoly@git.wordpress.org>
Co-authored-by: t-hamano <wildworks@git.wordpress.org>
  • Loading branch information
4 people authored Dec 27, 2024
1 parent ca61601 commit a65c1be
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
9 changes: 8 additions & 1 deletion packages/block-library/src/query-total/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,13 @@
"__experimentalDefaultControls": {
"fontSize": true
}
},
"__experimentalBorder": {
"radius": true,
"color": true,
"width": true,
"style": true
}
}
},
"style": "wp-block-query-total"
}
4 changes: 4 additions & 0 deletions packages/block-library/src/query-total/style.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.wp-block-query-total {
// This block has customizable padding, border-box makes that more predictable.
box-sizing: border-box;
}
1 change: 1 addition & 0 deletions packages/block-library/src/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
@import "./post-template/style.scss";
@import "./query-pagination/style.scss";
@import "./query-title/style.scss";
@import "./query-total/style.scss";
@import "./quote/style.scss";
@import "./read-more/style.scss";
@import "./rss/style.scss";
Expand Down

0 comments on commit a65c1be

Please sign in to comment.