You can also use flex-shrink: 0; on the #right element to prevent it from shrinking.
This just defines that the #right element should not be allowed to shrink e.g. stays at 50px.
For more informations about flex there are many good articles e.g. on css-tricks