gridstack_margin
Adjust grid spacing and gaps between widgets in dashboard layouts using CSS units like px, em, or rem to control visual separation and alignment.
Instructions
Update grid margin/gap
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | Margin value (px or CSS format) | |
| unit | No | CSS unit (px, em, rem, etc.) | px |
Input Schema (JSON Schema)
{
"properties": {
"unit": {
"default": "px",
"description": "CSS unit (px, em, rem, etc.)",
"type": "string"
},
"value": {
"description": "Margin value (px or CSS format)",
"oneOf": [
{
"type": "number"
},
{
"type": "string"
}
]
}
},
"required": [
"value"
],
"type": "object"
}