Double border keeps creating itself

Hi,

I’m building new project from scratch, and for some reason I have double border. I know it comes from row 2 because when I delete this row, second border disappears. But I have no idea why this is happening. Created every single row from scratch without any custom modifications.

I think I found a bug. When bottom margin is set to 0 (I think is set to 0 automatically) the second border appears. If I set to 1 or 2 em it’s ok.

Just to point out, I don’t have any other sections below, as i’m building step by step so maybe when is set to 0 and nothing is under that element, it get confused.

Hi @rafalkukla

Would you mind sharing a screenshot of this? I’m not sure what you mean here, but I’d like to know more so I can look into it.

It sounds a bit like this issue, but maybe it is something else:

https://theme.co/apex/forum/t/no-footer-template-bottom-section-has-a-gap/62209/5

Hi Alex,

Nope, not the same. I think I figure out why.
If you add empty global footer, and you don’t add any elements yet, and your last content row margin is set to 0, the double border shows up.

but if you complete your footer in full, add content etc. or if on the content side, last section or row bottom margin is set to other than 0, 1em 2em etc the second border would be gone.

added link to the site (as secure note) so you can review. try to scroll from top to the bottom and vice versa.

Ok, I see what’s happening. I think it’s the same root issue with different symptoms. The row is pushing outside the available space because we use a negative margin technique to create the gaps.

On your final row, can you try setting the vertical gap to zero? Let me know if that resolves it.

Hi,

Just changed vertical gap to 0 and same issue.

Hi @rafalkukla

Looks like you have added a footer and the issue is no longer showing. That border is actually a double scrollbar that appears when the body content is larger than the total height of the Sections. It shows up when the row’s negative margin pushes outside of the section. We’ll see if there’s anyway we can better avoid this out of the box, but the negative margin is important to control even spacing.