I have a template inside a tab content and it’s not giving the width I set.
I have that same template outside a tab and it works as expected.
Here’s a record of the issue - Jam
I’ve tried possible ways to resolve this but not working.
I have a template inside a tab content and it’s not giving the width I set.
I have that same template outside a tab and it works as expected.
Here’s a record of the issue - Jam
I’ve tried possible ways to resolve this but not working.
Hi Abey,
I can’t follow your > 3 minute video without sound, but I think the basic problem is that you work a lot with fixed widths, which you should definitely avoid to make your life much easier.
In addition, your grids are defined very simply (1fr 1fr 1fr
), which can quickly lead to overflows. Instead, you should use minmax(0, 1fr)
to avoid this problem. Alternatively, you can of course use repeat(3, minmax(0, 1fr))
instead of 1fr 1fr 1fr
.
Hi,
Thanks for your response.
There’s a bug.
I have two sections on the page. One has the template (Bricks Element) inside a tab and the other section has the template with no tab. So the affected one is the one with a tab. I need the tab to display different contents on a preferred page.
I’ve taken into consideration your words, I removed the fixed widths. Regarding the overflow, it happens because the container shrinks its width after placing it in a tab. That’s the main problem.
I recorded a new video with a voice explanation -
PS: I was just a bit timid to speak on the video, I apologise for making things difficult.
Hi Abey,
Thanks so much for the video with voice! Don’t be shy, you have no reason to be. Even if it was supposedly the worst English in the world (which it certainly isn’t in your case), it would still be a lot easier to follow than without any spoken word
Nevertheless, I am almost sure that this is not a bug, but I would like to have a look at your installation.
Would you be so kind as to send temporary login credentials and a link to this thread to help@bricksbuilder.io using the email address you used during the purchase?
Hi,
Thanks! It’s not about shyness but preference.
I’ll do as you requested.
Hi Abey,
You define the layout via CSS grid but then set fixed widths in pixels on the elements in it - this cannot work as the width of the elements (columns) is specified by the grid. I have removed the fixed widths accordingly, and the grid and the elements in it fit perfectly, as far as I can see.
Hi,
Thanks for your help.
The Tabs Nestable alters the container width, why?
The same design I place anywhere on the site and works well, I placed it inside the Tabs Nestable (Bricks element) and it alters the width.
Sorry, but I don’t understand what you mean. Can you show an example?