Skip to content

Styling fixes#292

Merged
MBreathe merged 1 commit intoHackYourFuture:mainfrom
MBreathe:frontend/styling-quickfix
Feb 2, 2026
Merged

Styling fixes#292
MBreathe merged 1 commit intoHackYourFuture:mainfrom
MBreathe:frontend/styling-quickfix

Conversation

@MBreathe
Copy link
Contributor

@MBreathe MBreathe commented Feb 2, 2026

This pull request includes minor UI adjustments to improve the layout and alignment of elements in the cohort and profile sidebar components, as well as a small update to the overall application styling. The changes primarily focus on improving table cell widths, icon spacing, and the height of main containers for a more consistent and visually appealing interface.

UI layout and alignment improvements:

  • Increased the minimum width of the job path table cell in CohortAccordion to ensure better alignment and prevent text overflow.
  • Changed the alignment of the contact icons table cell to end for improved visual consistency.
  • Removed extra right margin from contact icons (EmailIcon, GitHubIcon, LinkedInIcon) for a cleaner look.

Container height adjustments:

  • Reduced the height of the ProfileSidebar container from 100vh to 95vh to better fit within the viewport and avoid overflow.
  • Changed the .App container from a fixed 100vh height to a min-height: 95vh for more flexible layout and to prevent unwanted scrolling.

…ons, collums in tables now follow the same sizing
@MBreathe MBreathe self-assigned this Feb 2, 2026
Copilot AI review requested due to automatic review settings February 2, 2026 13:59
@MBreathe MBreathe added the FE Frontend ticket label Feb 2, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request contains targeted styling improvements to fix layout issues and improve visual consistency across the application. The changes address viewport height overflow issues and refine icon spacing in table layouts.

Changes:

  • Modified container heights from 100vh to 95vh to prevent viewport overflow
  • Removed explicit width constraint from .App container to fix potential horizontal scrollbar issues
  • Enhanced table cell styling with minimum width and right-alignment for contact icons
  • Removed unnecessary right margins from Material-UI icons within IconButton components

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
client/src/styles/index.css Changed .App container from fixed height: 100vh with width: 100vw to flexible min-height: 95vh without explicit width to prevent overflow and scrollbar issues
client/src/features/trainee-profile/profile/ProfileSidebar.tsx Reduced sidebar height from 100vh to 95vh for consistency with overall app height changes
client/src/features/cohorts/components/CohortAccordion.tsx Added minWidth: '240px' to job path cell, aligned contact icons to end, and removed redundant mr: 1 margins from icons already wrapped in IconButton components

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@HackYourFutures HackYourFutures temporarily deployed to dojo-frontend-styling-q-4z5nnh February 2, 2026 15:08 Inactive
Copy link
Member

@stasel stasel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work ❤️

@MBreathe MBreathe merged commit 19d9102 into HackYourFuture:main Feb 2, 2026
7 checks passed
@MBreathe MBreathe deleted the frontend/styling-quickfix branch February 2, 2026 21:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

FE Frontend ticket

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants