[go: up one dir, main page]

Content in user profile activity timelines overflows due to extremely long word

Summary

Even title in the user activity timeline overflows when it contains a ~200 character word

Steps to reproduce

  1. Create a new issue with a text that has a ~200 character word (no whitespace)
  2. Go to your activity page https://gitlab.com/users/{username}/activity

What is the current bug behavior?

The content overflows

What is the expected correct behavior?

The excess characters should wrap to the next line

Relevant logs and/or screenshots

image

Implementation Guide

  1. Add overflow-wrap: anywhere CSS property on the event title by modifying event.scss
  .event-title {
    @apply gl-wrap-anywhere;

    .event-title-block::first-letter {
      text-transform: capitalize;
    }
  }

image

Edited by Shane Maglangit