Bricks Version: 1.6.1
Browser: Any
OS: macOS
URL:
Add a container to the page . The container is in flex display by default.
Change the display to grid and save.
Inspect the container element in the front-end and you will see that flex-direction: column is still active in .brxe-container
Hi Simon,
I do not think this is a bug per se but more to do with .brxe-containers pre-determined styles which are added out of the box.
I brought it up a while back when they introduced it.
SOLVED: Margin L & R Auto overides Flex settings
I haven’t had the chance to play with grid yet and this might be an oversight and need changing with regards to Grid. But that will be a decision by the dev team whom I assume will be along shortly to answer
Hi Michael,
Yes, just an oversight but I saw no other option but to list it as a bug. Not a serious issue, just tidying up the css output.
I agree Simon, I much prefer the previous way too, to be honest. Fewer overrides and cleaner output as you say etc.
Hi Simon,
Thanks so much for your report!
The default styles for the container are defined in frontend.css, which is not dynamically regenerated. Accordingly, there is currently no possibility to remove the flex-direction, as the default for the container is flex and not grid and the direction is therefore required.
This one line is guaranteed not to slow down your website
Best regards,
timmse