modify the flex style