Title value exceeding 150 character breaks menubar alignment

Created on 12 June 2025, 2 months ago

Overview

When a menu item title exceeds 150 characters, the menubar layout breaks. This causes misalignment of menu buttons and can affect the appearance and usability of the menu bar.

Steps to Reproduce

  • Create a Article in drupal with title value as a string having 150+ characters
  • Navigate to XB check menu bar alignment in XB and drupal is broken

Proposed resolution

User interface changes

🐛 Bug report
Status

Active

Version

0.0

Component

Page builder

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

  • Issue created by @neha_bawankar
  • 🇮🇳India vasantha deepika Coimbatore

    I'm taking this issue to work on a fix.

  • Pipeline finished with Canceled
    about 1 month ago
    Total: 128s
    #542973
  • Pipeline finished with Canceled
    about 1 month ago
    Total: 740s
    #542975
  • Pipeline finished with Failed
    about 1 month ago
    Total: 1173s
    #542990
  • 🇮🇳India vasantha deepika Coimbatore

    Fixed the issue where the menubar alignment overlap when the title exceeded 150 characters.

    What was done:
    - Applied a `max-width` to the title container to prevent it from stretching beyond its parent layout.
    - Ensured that long titles wrap gracefully without breaking or misaligning other UI elements in the menubar.

    Steps to verify:
    1. Create an article with a title longer than 150 characters.
    2. Go to Experience Builder and observe the menu bar.
    3. The layout should now remain intact, with the long title gracefully truncated.

    Attached the before and after screenshots.
    BEFORE:

    AFTER:

    Marking this issue as Needs review.

Production build 0.71.5 2024