Skip to content

fix(ui): made the interview exp preview scrollable - #89

Open
Master-Bruce-Wayne wants to merge 1 commit into
RECursion-NITD:mainfrom
Master-Bruce-Wayne:fix/ui-login-textbar
Open

fix(ui): made the interview exp preview scrollable#89
Master-Bruce-Wayne wants to merge 1 commit into
RECursion-NITD:mainfrom
Master-Bruce-Wayne:fix/ui-login-textbar

Conversation

@Master-Bruce-Wayne

Copy link
Copy Markdown
Contributor

This PR fixes a UI layout issue in the Interview Experiences "Add/Edit" form (PostExperience.jsx) where long, unbroken text in the Markdown Preview box would overflow the container, causing layout overlaps and pushing the "Submit" button out of place.

Changes made:

  • Scrollable Preview: Added overflow-hidden to the outer preview container and overflow-y-auto to the inner content to strictly enforce the height limits and enable vertical scrolling.
  • Word Wrapping: Changed the word wrap property from break-words to break-all to ensure continuous long strings without spaces don't break out horizontally or vertically.
  • Height Alignment: Fixed the preview container's height to 150px to perfectly match the adjacent Textarea.
  • Flex Alignment: Adjusted the flex alignment to items-start with a gap-4 to improve the spacing and top-alignment of the text area and the preview box.

Screenshot:

image

@vercel

vercel Bot commented Sep 4, 2026

Copy link
Copy Markdown

@Master-Bruce-Wayne is attempting to deploy a commit to the RECursion's projects Team on Vercel.

A member of the Team first needs to authorize it.

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