Problem with the header when translating with Google Translate #159

Closed
opened 2026-05-17 22:26:47 +00:00 by Zhekrom · 1 comment
  • Title: Problem with the header when translating with Google Translate
  • Severity: Medium
  • Mode: Lesson
  • Lesson ID / File: N/A
  • Environment: Browser (specify version), OS (specify version)
  • Date/Time: 2026-05-17

Source Code

(Not applicable — UI layout issue during translation)

Steps to Reproduce

  1. Open the application in a browser.
  2. Use Google Translate to translate the page into Spanish.
  3. Observe the header layout as translated text appears.

Expected Output

The header should remain fully visible and responsive, even when translated text expands in length.

Actual Output

Translated Spanish words become longer and push the header toward the right corner, causing parts of it to extend beyond the screen.

Suggested Priority

Medium — Google Translate is a standard browser tool, so the header layout must remain comfortable for all users.

Additional Notes

Please fix header resizing or overflow handling to support translated text without breaking the layout.

- **Title:** Problem with the header when translating with Google Translate - **Severity:** Medium - **Mode:** Lesson - **Lesson ID / File:** N/A - **Environment:** Browser (specify version), OS (specify version) - **Date/Time:** 2026-05-17 ## Source Code (Not applicable — UI layout issue during translation) ## Steps to Reproduce 1. Open the application in a browser. 2. Use Google Translate to translate the page into Spanish. 3. Observe the header layout as translated text appears. ## Expected Output The header should remain fully visible and responsive, even when translated text expands in length. ## Actual Output Translated Spanish words become longer and push the header toward the right corner, causing parts of it to extend beyond the screen. ## Suggested Priority Medium — Google Translate is a standard browser tool, so the header layout must remain comfortable for all users. ## Additional Notes Please fix header resizing or overflow handling to support translated text without breaking the layout.
Owner

Fix proposed in spikersoft-angular PR #23. Root cause: the desktop nav row (.nav-menu) had flex-grow: 1 with no shrink/overflow handling, so when Google Translate lengthened the labels the row's intrinsic width pushed the logo and user/account controls past the right edge. The fix lets the nav row shrink and clip its overflow while pinning the logo and account controls and capping the toolbar to the viewport width.

Fix proposed in spikersoft-angular PR #23. Root cause: the desktop nav row (`.nav-menu`) had `flex-grow: 1` with no shrink/overflow handling, so when Google Translate lengthened the labels the row's intrinsic width pushed the logo and user/account controls past the right edge. The fix lets the nav row shrink and clip its overflow while pinning the logo and account controls and capping the toolbar to the viewport width.
Sign in to join this conversation.