You-Dont-Need-JavaScript icon indicating copy to clipboard operation
You-Dont-Need-JavaScript copied to clipboard

Fix broken timeline section and improve mobile responsiveness on travel site

Open KrishLalakiya opened this issue 1 year ago • 7 comments

Problem Currently, the timeline section on the travel site has layout issues causing content to overflow horizontally. This forces users to scroll sideways, which negatively impacts the user experience, especially on smaller screens. While the navigation bar stays correctly within the viewport, the main content extends beyond the visible area, leading to misalignment and layout breaks. Additionally, several elements such as boxes and input fields are not properly sized or aligned consistently across different screen widths. This inconsistency affects the overall responsiveness and visual appeal of the site on mobile devices.

Proposed Solution:

  • Fix layout overflow by ensuring all elements stay within the viewport width.
  • Adjust flex/grid containers to align properly under the nav bar.
  • Refine box and input field sizing for better responsiveness on smaller devices.

Action: I’d like to take up this issue and work on implementing the fix as part of Hacktoberfest. Please assign it to me.

Image Image

Repo Link: https://github.com/you-dont-need/You-Dont-Need-JavaScript/tree/master/Travelling%20Website

KrishLalakiya avatar Oct 14 '25 20:10 KrishLalakiya

I want to contribute

vedant21-ctr avatar Oct 14 '25 23:10 vedant21-ctr

@aayush105 can you assign me my issue?

KrishLalakiya avatar Oct 15 '25 04:10 KrishLalakiya

What should i do here now? @KrishLalakiya

As the pr is already open solving this issue by @rishu685

so like confirming you want to do this task @KrishLalakiya , if yes than i will compare the ui responsiveness done by both and i will merge the better one.

aayush105 avatar Oct 15 '25 19:10 aayush105

I would like to present both the options whichever fits best for the PR you can merge that!!

rishu685 avatar Oct 15 '25 19:10 rishu685

I would like to present both the options whichever fits best for the PR you can merge that!!

But like don't do directly like this, if the issue is opened by other contributors and you do it without asking. That's not acceptable either. First please ask for assign if you are doing on the someone else issue or the issue you created, than only proceed. @rishu685

aayush105 avatar Oct 15 '25 19:10 aayush105

Okie i am currently learning the process will keep in mind from the next time as the issue was open and no one solved it so i thought i can contribute

rishu685 avatar Oct 15 '25 19:10 rishu685

Fixed:

  • all section are now mobile friendly
  • ux friendly form for flight searching inspired by indigo Refer to link below: https://github.com/you-dont-need/You-Dont-Need-JavaScript/pull/873

KrishLalakiya avatar Oct 18 '25 15:10 KrishLalakiya