feat: implement mobile responsiveness for UI #61
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
feat: Implement mobile responsiveness
Summary
This pull request introduces comprehensive mobile responsiveness to the user interface. It adapts the layout for tablet and mobile screen sizes, ensuring all components are accessible and usable on smaller devices.
Root cause
The application was designed with a fixed-width layout suitable for desktop browsers. It lacked the necessary CSS media queries to adjust the layout for smaller viewports, leading to overflow and usability issues on mobile.
Changes
100vh
) flex container to utilize all available screen space.#chat-window
to grow dynamically, filling the area between the header and input box.90vw
to prevent them from overflowing the screen.Screenshots / Logs
Before: (Desktop layout on a mobile screen)

After: (Responsive layout on the same screen)

Testing
index.html
in a local browser.Related