Open jzhu01 opened 7 years ago
When I remove flex-direction, it is Ok. But I thought that then there would be no need in display: flex. But when I delete it is messes up the position of the location content. Why that? Should I keep display: flex?
Sure! Sorry for the delay in responding - I believe this link will be useful in explaining the differences between all the flex properties and their attribute.
https://css-tricks.com/snippets/css/a-guide-to-flexbox/
I would recommend keeping display: flex, because ultimately flex-direction and display: flex are not the same properties and do not do the same thing.
Seen here: https://github.com/TetiLy/prj-rev-bwfs-tea-cozy/blob/master/TeaCozy/resources/css/style.css#L107
This doesn't affect the display. I think it's alright to remove it! ^_^