dotCMS / core

Headless/Hybrid Content Management System for Enterprises
http://dotcms.com
Other
865 stars 467 forks source link

Horizontal scroll appears when adding large classes to layout components #29983

Open bryanboza opened 2 months ago

bryanboza commented 2 months ago

Problem Statement

When users add large class names to layout components in the dotCMS layout builder, a horizontal scroll bar appears in the editor. This issue occurs because the class names overflow the width of the layout editor interface, forcing horizontal scrolling. This affects the user experience by cluttering the interface and making it difficult to interact with the layout.

Screenshot 2024-09-12 at 1 59 14 PM

Steps to Reproduce

Acceptance Criteria

We need to show just the first X characters and "..." at the end in order to have a better vision of the area and all the added classes

dotCMS Version

Tested on trunk // Docker // FF

Proposed Objective

Quality Assurance

Proposed Priority

Priority 3 - Average

bryanboza commented 2 months ago

@melissarojas-dotcms please if you can provide some mucks for this will be great.