sid-s1 / Travel-App

Tript
https://ga-tript.herokuapp.com/
1 stars 0 forks source link

Chris/add new trip #18 #70

Closed Chrispy1987 closed 2 years ago

Chrispy1987 commented 2 years ago

Hey team,

I've setup a @media-query to adjust some styling when the screen is <650px (It was getting squishy). This can be found in the index.css file, in case you'd like to add anything further to it. index.css is now last to load, so it will recognise any classes/id from all the other css files :)

The DELETE and SAVE buttons are now fully functional for hotel/activity items and interact correctly with the database - eg. doesnt delete the trip_location_id if it's being used more than once by that trip_id.

Airlines will now save to db correctly - however I'll need to work on the delete pathway tonight. Also flagging that the first save (per itinerary item) works, but any additional edits require a patch call.