Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(ui): enhance sidebar responsiveness for split-screen scenarios #150

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

asmit27rai
Copy link

@asmit27rai asmit27rai commented Dec 27, 2024

feat(ui): enhance sidebar responsiveness for split-screen scenarios

issue: #147

Description

This PR improves the responsiveness of the sidebar in PictoPy, addressing issues observed when the application is used in split-screen mode or resized on desktop. The update ensures a seamless and visually appealing experience across varying screen sizes.


Changes Introduced

  1. Responsive Sidebar:

    • Added overflow-y-auto to allow smooth scrolling for the sidebar.
    • Dynamically adjusted the sidebar layout and width using responsive utilities.
  2. Hidden Scrollbars:

    • Implemented a scrollbar-hide class to hide scrollbars across all browsers.
    • Enabled smooth scrolling with WebkitOverflowScrolling: 'touch' for touch device support.

Video

Screen.Recording.2024-12-28.015744.mp4

- Added overflow-y-auto to enable vertical scrolling for the sidebar.
- Implemented custom CSS to hide scrollbars across browsers.
- Ensured smooth scrolling with WebkitOverflowScrolling: 'touch' for better touch device support.
- Maintained responsiveness and clean UI design.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant