# Responsiveness: Group should not shrink until page width is smaller than group. Achievable?

**URL:** <https://forum.bubble.io/t/responsiveness-group-should-not-shrink-until-page-width-is-smaller-than-group-achievable/155356>\
**Category:** Responsiveness\
**Created:** [June 11, 2021, 7:31pm UTC](https://forum.bubble.io/t/responsiveness-group-should-not-shrink-until-page-width-is-smaller-than-group-achievable/155356 "2021-06-11T19:31:58Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![alejandrowunderlich](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/alejandrowunderlich/32/97601_2.png) [@alejandrowunderlich](https://forum.bubble.io/u/alejandrowunderlich)\
**Post date:** [June 11, 2021, 7:31pm UTC](https://forum.bubble.io/t/responsiveness-group-should-not-shrink-until-page-width-is-smaller-than-group-achievable/155356/1 "2021-06-11T19:31:58Z")

</div>

This is a pain. Shrinking the page will always shrink a group proportionally. Is there a way to prevent this?

I design pages at 1200 width. Even if my containers are 800 wide, as soon as the page shrinks to 1000px for example, the containers start to shrink, making my page look awkward.

Is there a way to keep it from shrinking until the page’s width is less than the container?

---

<div class="post-metadata">

**Author:** ![J805](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/j805/32/41267_2.png) [@J805](https://forum.bubble.io/u/J805)\
**Post date:** [June 11, 2021, 8:56pm UTC](https://forum.bubble.io/t/responsiveness-group-should-not-shrink-until-page-width-is-smaller-than-group-achievable/155356/2 "2021-06-11T20:56:37Z")

</div>

Hey @alejandrowunderlich 👋

Responsiveness can be a pain sometimes. It took me a while to learn it. 😬

There are a few different ways to do this. Just one idea is to add empty groups on each side and have the minimum width set to 0. That way it will shrink slower and allow for a nicer transition. Let me know if that works for what you are trying to accomplish.

If that doesn’t help, maybe show a screenshot so we can see what you mean. It might give us a better idea of what you are trying to accomplish. 😊

Hope that helps! 😊

@j805 [www.NoCodeMinute.com](http://www.NoCodeMinute.com)

**For All Your No-Code Education Needs:**

- One-on-One Tutoring
- eLearning Hub
- Video Tutorials

---

<div class="post-metadata">

**Author:** ![leon3](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/leon3/32/88630_2.png) [@leon3](https://forum.bubble.io/u/leon3)\
**Post date:** [June 16, 2021, 12:31pm UTC](https://forum.bubble.io/t/responsiveness-group-should-not-shrink-until-page-width-is-smaller-than-group-achievable/155356/3 "2021-06-16T12:31:55Z")

</div>

> [@J805](#):
>
> Just one idea is to add empty groups on each side and have the minimum width set to 0

Unfortunately that doesn’t really fix it, just makes it slightly less bad.

This is maddening for me too! There must be some common-sense way to get around this?!

Example:  
I have a page that’s 960px wide. A few elements (text box, buttons, input fields) in the middle. This is how it looks at responsive at 960px wide, the groups & text are now at the exact same width at which I created them in the UI builder:

 ![Bildschirmfoto 2021-06-16 um 22.25.04](https://us1.discourse-cdn.com/bubble/original/3X/f/9/f963ea8f5d634ed4019bf7fc227fc764d0fc2905.png)

But as soon as the responsive view gets a pixel narrower than 960x (my page width in the editor), all the elements on the page start to narrow – even though there is still plenty of space on either side:

 ![Bildschirmfoto 2021-06-16 um 22.30.48](https://us1.discourse-cdn.com/bubble/original/3X/5/6/56afbf9f4cb614b6b8f933cbc15d7bf9527b9ed7.png)

Adding the empty-group-trick on either side makes the narrowing only slightly less bad, but it still happens straight away when the view gets smaller than 960px.

Thoughts?

---

<div class="post-metadata">

**Author:** ![J805](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/j805/32/41267_2.png) [@J805](https://forum.bubble.io/u/J805)\
**Post date:** [June 16, 2021, 12:55pm UTC](https://forum.bubble.io/t/responsiveness-group-should-not-shrink-until-page-width-is-smaller-than-group-achievable/155356/4 "2021-06-16T12:55:18Z")

</div>

Yeah. It’s tricky, the only work around I found is to make the page just slightly bigger than the inputs. Make sure to add a maximum and minimum width to it.

The reason it’s doing this in the first place is because it is trying to keep the left and right margins consistent to what you made. So it starts shrinking to keep the margins. If the margins are smaller, you will see a smoother transition.

Does that make sense? Hope that helps a bit. 😊

---

<div class="post-metadata">

**Author:** ![leon3](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/leon3/32/88630_2.png) [@leon3](https://forum.bubble.io/u/leon3)\
**Post date:** [June 16, 2021, 1:07pm UTC](https://forum.bubble.io/t/responsiveness-group-should-not-shrink-until-page-width-is-smaller-than-group-achievable/155356/5 "2021-06-16T13:07:00Z")

</div>

Yes that makes sense! I thought that might be going on - so in my example, it basically treats the blank space (below, in red) on either side of the text as “content”, and when I make the page narrower (say by 20%), it will narrow everything equally:

- the empty (red) space by 20%
- all my actual content (in green) by 20%  
 ![Bildschirmfoto 2021-06-16 um 22.30.48](https://us1.discourse-cdn.com/bubble/original/3X/8/a/8aa70a3e102bfc1d98e5f5ad92883738742ebd31.png)

Does that sound right?

> [@J805](#):
>
> the only work around I found is to make the page just slightly bigger than the inputs

So basically in my case above, to make the page just as wide as the text box, right? I figured that may be a “solution”, but that’s gonna create a lot of work across my entire app. Looks like I’m gonna have to get into breakpoints now and creating multiple versions of the same content that hides at different widths, yay 😉

---

<div class="post-metadata">

**Author:** ![J805](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/j805/32/41267_2.png) [@J805](https://forum.bubble.io/u/J805)\
**Post date:** [June 16, 2021, 1:13pm UTC](https://forum.bubble.io/t/responsiveness-group-should-not-shrink-until-page-width-is-smaller-than-group-achievable/155356/6 "2021-06-16T13:13:50Z")

</div>

Haha 😂. Yeah. That’s normally how it works. Test it first, to make sure it looks the way you want, before doing all that work. 👍

The empty space has spacers right?

If it doesn’t have spacers, then the margins don’t shrink by 20%. They keep the same width.

---

<div class="post-metadata">

**Author:** ![leon3](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/leon3/32/88630_2.png) [@leon3](https://forum.bubble.io/u/leon3)\
**Post date:** [June 16, 2021, 1:23pm UTC](https://forum.bubble.io/t/responsiveness-group-should-not-shrink-until-page-width-is-smaller-than-group-achievable/155356/7 "2021-06-16T13:23:01Z")

</div>

> [@J805](#):
>
> The empty space has spacers right?
> 
> If it doesn’t have spacers, then the margins don’t shrink by 20%. They keep the same width.

Spacer = empty groups with 0 min width? In this scenario, the empty space has no spacers. I said the 20% more to illustrate what I thought was happening (which seems to be right), not specifically the margins. So all good.

When I put in spacers, it does make the transition a bit smoother like you said, makes the text group narrow a bit less dramatic.

---

<div class="post-metadata">

**Author:** ![J805](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/j805/32/41267_2.png) [@J805](https://forum.bubble.io/u/J805)\
**Post date:** [June 16, 2021, 1:36pm UTC](https://forum.bubble.io/t/responsiveness-group-should-not-shrink-until-page-width-is-smaller-than-group-achievable/155356/8 "2021-06-16T13:36:08Z")

</div>

Correct. You got it. 😊
