Skip to content

Commit

Permalink
Home Link: Add
Browse files Browse the repository at this point in the history
  • Loading branch information
shail-mehta committed Dec 27, 2024
1 parent 011e7af commit 357e0d6
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 0 deletions.
14 changes: 14 additions & 0 deletions packages/block-library/src/home-link/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,14 @@
"supports": {
"reusable": false,
"html": false,
"spacing": {
"margin": true,
"padding": true,
"__experimentalDefaultControls": {
"margin": false,
"padding": false
}
},
"typography": {
"fontSize": true,
"lineHeight": true,
Expand All @@ -37,6 +45,12 @@
"fontSize": true
}
},
"__experimentalBorder": {
"radius": true,
"color": true,
"width": true,
"style": true
},
"interactivity": {
"clientNavigation": true
}
Expand Down
4 changes: 4 additions & 0 deletions packages/block-library/src/home-link/style.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.wp-block-home-link {
// 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 @@ -23,6 +23,7 @@
@import "./gallery/style.scss";
@import "./group/style.scss";
@import "./heading/style.scss";
@import "./home-link/style.scss";
@import "./image/style.scss";
@import "./latest-comments/style.scss";
@import "./latest-posts/style.scss";
Expand Down

0 comments on commit 357e0d6

Please sign in to comment.