Howdy all. Quick note that the Webflow Container
element is a “non-ordinary” node, which means it has :before
and :after
pseudo elements inside. These also get counted when the user applies flex settings. (Same for the Navbar
container.) In other words, this is expected behavior and not a bug.
You have two options to fix:
- As @vincent suggested, just throw an extra
div
inside yourContainer
, and apply flex to that - For the children inside the
Container
, you can applyFirst
andLast
to the corresponding children, and this will remove the extra unnecessary space on either side of those elements. See included image below: