# Component padding inside container acts as margin

**URL:** <https://community.thunkable.com/t/component-padding-inside-container-acts-as-margin/2429474>\
**Category:** Questions about Thunkable X\
**Tags:** layout, containers, padding\
**Created:** [May 22, 2023, 4:32am UTC](https://community.thunkable.com/t/component-padding-inside-container-acts-as-margin/2429474 "2023-05-22T04:32:21Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [May 31, 2023, 9:47pm UTC](https://community.thunkable.com/t/component-padding-inside-container-acts-as-margin/2429474/3 "2023-05-31T21:47:11Z")

</div>

Okay, I think part of the problem is that padding and margins do not display correctly in Preview. Can that be fixed?

---

_[View the full topic](https://community.thunkable.com/t/component-padding-inside-container-acts-as-margin/2429474)._
