Skip to content

Change gl-word-break-word to gl-break-anywhere

Jose Ivan Vargas requested to merge jivanvl-replace-break-word-tailwind into master

What does this MR do and why?

Change gl-word-break-word to gl-break-anywhere

This creates a new class for our tailwind utilities that replaces the deprecated gl-word-break-word (word-break: break-word) class

There is no change to css_in_js.js because gl-word-break-word is still used in src/components/experimental/duo/chat/components/duo_chat_message/duo_chat_message.vue#L176. When we migrate this util in GitLab UI it will be removed.

#456635 (closed)

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

Before After
Screenshot_2024-05-09_at_11.52.24_a.m. Screenshot_2024-05-09_at_11.49.32_a.m.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. Go to any project
  2. Go to Settings -> CI/CD
  3. Create a new CI variable that has a really long name
  4. Ensure the text breaks up correctly
Edited by Peter Hegman

Merge request reports