[WO-361] Fix flexbox styles by preventing shrink on the required dom nodes