SOLVED: Root container Margins now overwrite custom Container margins since 1.3.2

Bricks Version: 1.3.3
Browser: Firefox latest
OS: Windows
URL:

General settings should NOT be overwriting custom ones, surely ?

  1. Open page in Bricks
  2. add 25px (x4) into Settings > General > Root Container Margins
  3. Add container to page and set Margins to 0px

Result: Container Margins stays at 25px. The 0px setting is ignored.

Its a css hierarchy thing. It worked fine in 1.3.1

#bricks-content > .bricks-container {
margin-top: 25px;
margin-right: 25px;
margin-bottom: 25px;
margin-left: 25px;
}

Overwrites:

#bricks-element-urckow {
width: 100%;
max-width: 100%;
flex-shrink: 0;
flex-direction: column;
align-items: center;
background-position: center center;
background-image: url(http://xxx.xxx.xxx/uploads/2021/07/home-Banner-1024x417.jpg);
justify-content: center;
min-height: 55vh;
margin-top: 0;
margin-right: 0;
margin-bottom: 0none; <---- also whats this ?
margin-left: 0;
}

Hello @PeteN

Thank you for your report.

We confirm this behaviour and it will be fixed in a near future.

Please check that this element doesn’t have the none unit selected in the margin-bottom control.

Hi Pete,

Good news! The bug has been fixed in Bricks 1.3.5. If you still have problems with it, feel free to let us know in this post.

Best regards,
timmse

1 Like

Thanks folks! :slight_smile: We worked around it in the meantime but good to know it works now.