# Gap between elements of a repeating group

**URL:** <https://forum.bubble.io/t/gap-between-elements-of-a-repeating-group/224448>\
**Category:** Responsiveness\
**Created:** [September 15, 2022, 2:04pm UTC](https://forum.bubble.io/t/gap-between-elements-of-a-repeating-group/224448 "2022-09-15T14:04:21Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![martinlenweiter](https://avatars.discourse-cdn.com/v4/letter/m/ee7513/32.png) [@martinlenweiter](https://forum.bubble.io/u/martinlenweiter)\
**Post date:** [September 15, 2022, 2:04pm UTC](https://forum.bubble.io/t/gap-between-elements-of-a-repeating-group/224448/1 "2022-09-15T14:04:21Z")

</div>

Hello 🙂

This is probably a noob question, but I can’t find an answer: how can we apply a gap between elements of a repeating group? When I apply a margin, it seems to make a margin between the repeating group and other elements, not between the elements that make up the repeating group.

Many thanks  
 ![Screenshot from 2022-09-15 16-04-08](https://us1.discourse-cdn.com/bubble/original/3X/5/4/54501fe60e67a8e7519dc4c40f6d818805e269ac.png)

---

<div class="post-metadata">

**Author:** ![LucM](https://avatars.discourse-cdn.com/v4/letter/l/67e7ee/32.png) [@LucM](https://forum.bubble.io/u/LucM)\
**Post date:** [September 15, 2022, 2:47pm UTC](https://forum.bubble.io/t/gap-between-elements-of-a-repeating-group/224448/2 "2022-09-15T14:47:44Z")

</div>

Hello @martinlenweiter

There’s no direct way to do this: the RepeatingGroup element offers the “Margin” option (outside) but not the “Padding” option (inside).

So here’s two ways to achieve it:

**1/** User the “separato” option of your RG  
Make it “Solid”, make the color transparent, chose the width you’d like  
See here for demo: [https://youtu.be/o-TxihqFHF4?t=394](https://youtu.be/o-TxihqFHF4?t=394)

**2/** Group all the elements of your cell inside a “Group”  
Then add padding or margins to this group

---

<div class="post-metadata">

**Author:** ![martinlenweiter](https://avatars.discourse-cdn.com/v4/letter/m/ee7513/32.png) [@martinlenweiter](https://forum.bubble.io/u/martinlenweiter)\
**Post date:** [September 15, 2022, 3:22pm UTC](https://forum.bubble.io/t/gap-between-elements-of-a-repeating-group/224448/3 "2022-09-15T15:22:34Z")

</div>

Hi Luc, Thank you very much for your reply. I’ll try your suggestion!

---

<div class="post-metadata">

**Author:** ![viquarahmed07](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/viquarahmed07/32/145585_2.png) [@viquarahmed07](https://forum.bubble.io/u/viquarahmed07)\
**Post date:** [September 15, 2022, 3:39pm UTC](https://forum.bubble.io/t/gap-between-elements-of-a-repeating-group/224448/4 "2022-09-15T15:39:44Z")

</div>

Hi @martinlenweiter  
In Addition to Above answer 👆

You can group all the elements of your cell & apply row gap  
 ![Screenshot 2022-09-15 at 17.38.21](https://us1.discourse-cdn.com/bubble/original/3X/8/2/826cfed900e5481e85afc3a949021f3ac3110cde.png)

---

<div class="post-metadata">

**Author:** ![treb.gatte](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/treb.gatte/32/127901_2.png) [@treb.gatte](https://forum.bubble.io/u/treb.gatte)\
**Post date:** [September 15, 2022, 6:43pm UTC](https://forum.bubble.io/t/gap-between-elements-of-a-repeating-group/224448/5 "2022-09-15T18:43:14Z")

</div>

Yes, we create a group in our repeating groups and then have a style for this type of groups so that we are consistent in how this is implemented.

Love the date format at the beginning of each row!

---

<div class="post-metadata">

**Author:** ![martinlenweiter](https://avatars.discourse-cdn.com/v4/letter/m/ee7513/32.png) [@martinlenweiter](https://forum.bubble.io/u/martinlenweiter)\
**Post date:** [September 16, 2022, 8:42am UTC](https://forum.bubble.io/t/gap-between-elements-of-a-repeating-group/224448/6 "2022-09-16T08:42:09Z")

</div>

Thanks @treb.gatte 🙂 credit goes [here](https://www.youtube.com/watch?v=DYHtR7IONl8&t=6360s)

---

<div class="post-metadata">

**Author:** ![martinlenweiter](https://avatars.discourse-cdn.com/v4/letter/m/ee7513/32.png) [@martinlenweiter](https://forum.bubble.io/u/martinlenweiter)\
**Post date:** [September 16, 2022, 8:42am UTC](https://forum.bubble.io/t/gap-between-elements-of-a-repeating-group/224448/7 "2022-09-16T08:42:36Z")

</div>

Thanks a lot @viquarahmed07 ! 🙂
