It turns out flex-grow was the better way to insure the buttons are placed at the correct spot on the pop-up.