Skip to content

Commit 6a76d9d

Browse files
committed
update
Signed-off-by: ZihanKuang <[email protected]>
1 parent feb3ad9 commit 6a76d9d

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed
-1.27 MB
Loading

content/en/kanvas/designer/embedding-designs/index.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ To prepare your Hugo site to support design embedding, perform the one-time task
114114
.meshery-embed-container {
115115
border: 1px solid #eee;
116116
border-radius: 4px;
117-
margin: 1rem auto;
117+
margin: 0rem auto;
118118
box-shadow: 0 1px 3px rgba(0,0,0,0.1);
119119
}
120120
.meshery-embed-container.full {
@@ -146,14 +146,14 @@ To prepare your Hugo site to support design embedding, perform the one-time task
146146

147147
### Shortcode Explanation
148148

149-
- **`src`** (Required): The path to the exported JavaScript file for your design.
150-
- **`id`** (Required): A unique ID for the embedded design container.
151-
- **`size`** (Optional): A preset for simple sizing.
152-
- Accepts `"full"` (default) or `"half"`.
153-
- This parameter is ignored if `style` is used.
154-
- **`style`** (Optional): For advanced customization.
155-
- Allows you to provide any custom CSS inline styles.
156-
- **This parameter has higher priority and will override the `size` parameter.**
149+
- **`src`** (Required): The path to the exported JavaScript file for your design.
150+
- **`id`** (Required): A unique ID for the embedded design container.
151+
- **`size`** (Optional): A preset for simple sizing.
152+
- Accepts `"full"` (default) or `"half"`.
153+
- This parameter is ignored if `style` is used.
154+
- **`style`** (Optional): For advanced customization.
155+
- Allows you to provide any custom CSS inline styles.
156+
- **This parameter has higher priority and will override the `size` parameter.**
157157

158158
Now that your site has shortcode support for embedding Kanvas designs, you can use the `meshery-design-embed` shortcode in any Hugo markdown file where you want to display embedded designs to your site visitors.
159159

0 commit comments

Comments
 (0)