> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.dorik.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Margin & Padding (Spacing)

### How the spacing works? 

Our spacing follows css box model. So the margin is applied outside of the border. And padding applied inside the border. 

![](https://storage.crisp.chat/users/helpdesk/website/cf1fc9cc00911000/box-model-min_qcjjcj.jpeg)

# Watch the video 

${youtube}[Margin padding](iE5cRrqTqEA) 

### Updating Margin & Padding (Spacing)

Open the editing modal of the component by clicking [ **Edit Icon**](https://help.dorik.com/en/article/builder-basics-1vmc59h/#1-control-icons) then go to "Styles" tab. Then expand the "Margin & Padding" accordion. Then enter desired value to update the spacing. 

