Skip to content
This repository was archived by the owner on Feb 23, 2024. It is now read-only.

Commit f27456d

Browse files
Featured Items: Remove inline style defaults for color options (#7036)
* Remove inline style defaults for color options. This replaces the inline style with an added editor-specific styling with slightly more specificity - but not too much to where it overrides the Site Editor. * Remove additional styles from editor stylesheet. These styles are meant to apply to both the frontend and the editor. The ruleset was originally added to the editor stylesheet to add an additional layer of specificity but it was decided that this is unnecessary.
1 parent 7b01374 commit f27456d

File tree

2 files changed

+0
-16
lines changed

2 files changed

+0
-16
lines changed

assets/js/blocks/featured-items/featured-category/block.json

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -99,14 +99,6 @@
9999
"showDesc": {
100100
"type": "boolean",
101101
"default": true
102-
},
103-
"style": {
104-
"type": "object",
105-
"default": {
106-
"color": {
107-
"text": "#ffffff"
108-
}
109-
}
110102
}
111103
},
112104
"textdomain": "woo-gutenberg-products-block",

assets/js/blocks/featured-items/featured-product/block.json

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -105,14 +105,6 @@
105105
"showPrice": {
106106
"type": "boolean",
107107
"default": true
108-
},
109-
"style": {
110-
"type": "object",
111-
"default": {
112-
"color": {
113-
"text": "#ffffff"
114-
}
115-
}
116108
}
117109
},
118110
"textdomain": "woo-gutenberg-products-block",

0 commit comments

Comments
 (0)