Skip to content

Diff: use own CSS class for setting max-width

Sascha Eggenberger requested to merge diffs-class-name-change into master

What does this MR do and why?

Diff: use own class for setting max-width

Removes the dependency to use gl-truncate for the CSS to apply here as we're chaning this class name in gitlab-ui!4234 (merged) to avoid a clash with Tailwind.

This MR adds a dedicated CSS class so we don't have to worry about those things.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

No visual changes

How to set up and validate locally

Related to #452225 (closed)

Merge request reports