Skip to content

Conversation

@Bhumikagarggg
Copy link
Contributor

Description

This PR fixes #2525 by resolving an issue where long navigation menu labels were getting clipped in the mobile view.

The fix ensures that mobile navigation items remain single-line and display an ellipsis () when the text exceeds the available width, improving readability and user experience on smaller screens.

Notes for Reviewers

  • The change is scoped only to mobile navigation styles
  • Desktop navigation remains unaffected
  • No HTML changes were required; this is a CSS-only fix

Screenshot

Screenshot 2026-01-06 at 11 36 22 PM

Signed commits

  • Yes, I signed my commits.

@netlify
Copy link

netlify bot commented Jan 6, 2026

Deploy Preview for mesheryio-preview ready!

Name Link
🔨 Latest commit 7d8ab4f
🔍 Latest deploy log https://app.netlify.com/projects/mesheryio-preview/deploys/695d556875adf3000808bd7e
😎 Deploy Preview https://deploy-preview-2526--mesheryio-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello @Bhumikagarggg, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request addresses a user experience issue on mobile devices where navigation menu labels were being clipped due to their length. The change introduces a CSS-only solution to ensure that these labels are displayed on a single line, with any overflow gracefully handled by an ellipsis, thereby enhancing readability and maintaining a clean interface on smaller screens without impacting the desktop layout.

Highlights

  • Mobile Navigation Fix: Resolves an issue where long navigation menu labels were truncated in the mobile view, improving readability on smaller screens.
  • Text Truncation: Ensures mobile navigation items remain single-line and display an ellipsis (...) when text exceeds the available width.
  • CSS-Only Change: The fix is implemented purely with CSS, requiring no HTML modifications and only affecting mobile navigation styles.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@Bhumikagarggg
Copy link
Contributor Author

Hello maintainer @saurabhraghuvanshii !
please review this PR

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request addresses a text truncation issue in the mobile navigation menu by removing width: 100% from the .nav-list style. While this change likely fixes the visual problem, my review focuses on a potential maintainability issue. The implementation for the ellipsis truncation is not explicit in the provided change, making the code's intent less clear for future developers. I've left a comment suggesting how to make the fix more robust and self-documenting.

Copy link
Member

@Rajesh-Nagarajan-11 Rajesh-Nagarajan-11 left a comment

Choose a reason for hiding this comment

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

Please have a look at Gemini’s review.

Signed-off-by: Bhumika Garg <[email protected]>
@Bhumikagarggg
Copy link
Contributor Author

@Rajesh-Nagarajan-11 I’ve updated the mobile navigation styles to explicitly define the truncation behavior using white-space, overflow, and text-overflow, making the intent clearer and improving maintainability.

@CodexRaunak
Copy link
Member

@Bhumikagarggg Thank you for your contribution! Let's discuss this during the website call tomorrow at 6:30 PM IST | 7 AM CST Add it as an agenda item to the meeting minutes, if you would 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Mobile navigation menu items are truncated on small screens

3 participants