SE750-Group14-GirlGang / roadtrip-planner

An application to help you and your friends plan a roadtrip!
Apache License 2.0
3 stars 2 forks source link

The trip card is not responding if you click on the corner #127

Open CapLock-OCTO opened 3 years ago

CapLock-OCTO commented 3 years ago

Describe the bug The trip card is not responding if you click on the corner, it only response if you click on the center button.

Steps To Reproduce

  1. create a new trip
  2. click on the corner of the trip card

Screenshots

Expected behavior Clicking on the card should have the same behavior as clicking on the centred button

How to fix

  1. Reconsider the arrangement of this container, maybe using the card itself other than using the Card containing the Button.
  2. In frontend/src/components/TripSection/TripsList/Trip/Trip.jsx Consider adding an onClick Handler to the element (or associated props in Material-UI) which fires a redirection as well.

Additional Information Not a big deal though, just something counter-intuitive.