@@ -130,6 +130,7 @@ export default function Edit({ attributes, setAttributes, ...props }) {
"core/list",
"core/button",
"core/buttons",
+ "carhop-blocks/cta",
]}
/>
diff --git a/plugins/carhop-blocks/blocks/chapter-section/src/editor.scss b/plugins/carhop-blocks/blocks/chapter-section/src/editor.scss
index a96acfa..bb7eeb9 100644
--- a/plugins/carhop-blocks/blocks/chapter-section/src/editor.scss
+++ b/plugins/carhop-blocks/blocks/chapter-section/src/editor.scss
@@ -1,5 +1,3 @@
-.portfolio-header {
- &__cover {
- z-index: 0 !important;
- }
+.wp-block-carhop-blocks-chapter-section {
+ margin: 2rem calc(50% - 50vw);
}
diff --git a/plugins/carhop-blocks/blocks/chapter-section/src/style.scss b/plugins/carhop-blocks/blocks/chapter-section/src/style.scss
index e69de29..ae522ba 100644
--- a/plugins/carhop-blocks/blocks/chapter-section/src/style.scss
+++ b/plugins/carhop-blocks/blocks/chapter-section/src/style.scss
@@ -0,0 +1,3 @@
+.wp-block-carhop-blocks-chapter-section {
+ margin: 2rem calc(50% - 50vw);
+}