ax2bboud / pto-movies

My submission for the PTO Genius take home project.
0 stars 0 forks source link

Separation of concerns #4

Open nachovz opened 1 year ago

nachovz commented 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.

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

ax2bboud commented 1 year ago

Today I learned! Thank you for the feedback. @nachovz