Skip to content

Commit

Permalink
wip: Enable box shadow support
Browse files Browse the repository at this point in the history
Depends on: #57654
This PR adds box shadow support to the following blocks:

- [ ] Columns
- [ ] Cover
- [ ] Group
- [ ] Image

Issue: #57103
  • Loading branch information
vcanales authored and madhusudhand committed Feb 5, 2024
1 parent d2d6c71 commit 872fe68
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
3 changes: 2 additions & 1 deletion packages/block-library/src/columns/block.json
Expand Up @@ -82,7 +82,8 @@
},
"interactivity": {
"clientNavigation": true
}
},
"shadow": true
},
"editorStyle": "wp-block-columns-editor",
"style": "wp-block-columns"
Expand Down
3 changes: 2 additions & 1 deletion packages/block-library/src/cover/block.json
Expand Up @@ -135,7 +135,8 @@
},
"interactivity": {
"clientNavigation": true
}
},
"shadow": true
},
"editorStyle": "wp-block-cover-editor",
"style": "wp-block-cover"
Expand Down
3 changes: 2 additions & 1 deletion packages/block-library/src/group/block.json
Expand Up @@ -90,7 +90,8 @@
},
"interactivity": {
"clientNavigation": true
}
},
"shadow": true
},
"editorStyle": "wp-block-group-editor",
"style": "wp-block-group"
Expand Down
3 changes: 2 additions & 1 deletion packages/block-library/src/image/block.json
Expand Up @@ -117,7 +117,8 @@
"radius": true,
"width": true
}
}
},
"shadow": true
},
"selectors": {
"border": ".wp-block-image img, .wp-block-image .wp-block-image__crop-area, .wp-block-image .components-placeholder",
Expand Down

0 comments on commit 872fe68

Please sign in to comment.