Open nachovz opened 1 year ago
It's easier to read and less prone to errors if the spacing between elements is handled by the parent element, especially in a flex container. You can use flex gap to handle this.
flex
https://github.com/ax2bboud/pto-movies/blob/a2e0aac611b3c50060d1677ebd6fb257c605550d/client/src/Movies.css#L21
Same Here: https://github.com/ax2bboud/pto-movies/blob/a2e0aac611b3c50060d1677ebd6fb257c605550d/client/src/Movies.css#L28-L30
And here: https://github.com/ax2bboud/pto-movies/blob/a2e0aac611b3c50060d1677ebd6fb257c605550d/client/src/Movie.css#L13-L15
Today I learned! Thank you for the feedback. @nachovz
It's easier to read and less prone to errors if the spacing between elements is handled by the parent element, especially in a
flex
container. You can use flex gap to handle this.https://github.com/ax2bboud/pto-movies/blob/a2e0aac611b3c50060d1677ebd6fb257c605550d/client/src/Movies.css#L21
Same Here: https://github.com/ax2bboud/pto-movies/blob/a2e0aac611b3c50060d1677ebd6fb257c605550d/client/src/Movies.css#L28-L30
And here: https://github.com/ax2bboud/pto-movies/blob/a2e0aac611b3c50060d1677ebd6fb257c605550d/client/src/Movie.css#L13-L15