fix ratio value to flexbox grids