RC1 Header bar % width not being honoured

Hi @alexander,

I have a header bar with a width of 88% and max width of 1400px. On the live site this displays correctly.
On the staging (RC1) site, the 1400px max width is honoured but not the 88% width, leaving the menu butting up against both edges

Looks to be this code that is affecting the % width of the bar

.x-bar-scroll, .x-bar-scroll-outer, .x-bar-scroll-inner, .x-bar-content:not(.x-container) {
flex-grow: 1;
flex-shrink: 0;
flex-basis: auto;
}

1 Like

Same thing for me.

On Pro 4, this is the output CSS (where it’s working fine):

image

And Pro 5, RC1:

image

If I add flex-grow:0;, it does work as expected.

image

1 Like

Thanks for the heads up here. I’m sorry about this one - the changes I made Friday introduced a regression that caused values set to 0 to be ignored. I’m going to push out an RC2 today. Let me know if that clears it up.

2 Likes

Confirmed, This is now working in RC2

Thank you!