Skip to content

[FEAT] : Added Adjustable Vertical Seperator between Editor and ContentViewer #173

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

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

Conversation

Yashwanth1906
Copy link

@Yashwanth1906 Yashwanth1906 commented Apr 24, 2025

What kind of change does this PR introduce?

  • Feature: Added a resizable vertical separator between content viewer and editor

Issue Number:

If relevant, did you update the documentation?

  • No documentation updates required as this is a UI enhancement

Summary
This PR introduces a resizable vertical separator between the content viewer and editor panels, improving the user experience by allowing users to adjust the width of each panel according to their preferences. The separator features:

  • A 4px wide draggable divider
  • Visual feedback on hover and active states using the primary theme color
  • Smooth transition animations
  • Minimum width constraints (300px) for both panels to ensure usability
  • Maximum width constraint (70%) for the left panel to maintain layout balance

The implementation uses CSS flexbox for layout management and includes proper cursor styling to indicate the resizable nature of the divider.

Does this PR introduce a breaking change?
No, this is a non-breaking change that enhances the existing UI without affecting any functionality or existing features.

Technical Details:

  • Added new CSS module styles in page.module.css
  • Implemented flexbox-based layout for the main area
  • Added hover and active states for the divider using the primary theme color
  • Set appropriate min/max width constraints for both panels

@Yashwanth1906
Copy link
Author

@JeelRajodiya Waiting for your feedbacks on this...🙂

@JeelRajodiya
Copy link
Member

@Yashwanth1906 I'm currently busy with my exams, I'll review it sometime after 3rd may

@Yashwanth1906
Copy link
Author

@JeelRajodiya Okay..

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.

Feat : Add Vertical Adjustable Separator
2 participants