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

Fix text alignment and truncation issue in quota legend #37

Closed
wants to merge 1 commit into from
Closed

Fix text alignment and truncation issue in quota legend #37

wants to merge 1 commit into from

Conversation

thedemonsid
Copy link
Contributor

@thedemonsid thedemonsid commented Oct 22, 2024

Fixes #36

On mobile devices or screens with smaller resolutions, both the table content and the legend (e.g., AI: All India, HS: Home State, OS: Out of State) were getting truncated or improperly displayed. This means users could not see the full information, which is critical for understanding the data.
Problem: The table content was getting cut off or truncated on smaller screens (e.g., mobile devices).
Solution: We wrapped the table inside a div container with the class overflow-x-auto, which allows the table to be horizontally scrollable when it exceeds the width of the screen. This ensures no content is hidden or truncated, and the user can scroll to see all columns.


For more details, open the Copilot Workspace session.

Fixes #36

On mobile devices or screens with smaller resolutions, both the table content and the legend (e.g., AI: All India, HS: Home State, OS: Out of State) were getting truncated or improperly displayed. This means users could not see the full information, which is critical for understanding the data.
Problem: The table content was getting cut off or truncated on smaller screens (e.g., mobile devices).
Solution: We wrapped the table inside a div container with the class overflow-x-auto, which allows the table to be horizontally scrollable when it exceeds the width of the screen. This ensures no content is hidden or truncated, and the user can scroll to see all columns.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/avantifellows/college-predictor/issues/36?shareId=XXXX-XXXX-XXXX-XXXX).
@thedemonsid
Copy link
Contributor Author

Before fix

378699940-b862deb1-797a-4a46-a67c-629064c4a9c7

After fix :

378706720-62038e53-de62-4ce1-8397-3a91cd7c76b3

Copy link
Contributor

@suryabulusu suryabulusu left a comment

Choose a reason for hiding this comment

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

looks good -- can you also share a screenshot of how it looks on browser now

@thedemonsid thedemonsid closed this by deleting the head repository Oct 29, 2024
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.

Text alignment and truncation issue in quota legend
2 participants