Making WordPress.org

Opened 8 years ago

Closed 8 years ago

#2056 closed defect (bug) (fixed)

Long usernames overflow and bleed into post content

Reported by: clorith's profile Clorith Owned by: netweb's profile netweb
Milestone: Priority: normal
Component: Support Forums Keywords: has-patch commit
Cc:

Description

Long usernames overflow, and depending on the post length may clash with the post content.

Attachments (2)

overflowing-username.PNG (19.1 KB) - added by Clorith 8 years ago.
meta-2056.patch (507 bytes) - added by SergeyBiryukov 8 years ago.

Download all attachments as: .zip

Change History (6)

#1 @netweb
8 years ago

  • Keywords needs-patch added

Adding word-break: break-word; looks alright from here:

#bbpress-forums p.bbp-user-nicename {
    font-weight: bold;
    color: #888;
    display: inline-block;
    margin: 0;
    word-break: break-word;
}

https://cldup.com/FidXVisxGe.png

#2 @SergeyBiryukov
8 years ago

  • Keywords has-patch commit added; needs-patch removed

#3 @SergeyBiryukov
8 years ago

Replying to netweb:

Adding word-break: break-word; looks alright from here

It does :) a.bbp-author-name already has word-break: break-word, so let's add it for the nicename too.

#4 @netweb
8 years ago

  • Owner set to netweb
  • Resolution set to fixed
  • Status changed from new to closed

In 4098:

BuddyPress.org: bb-base: Add word-break: break-word for user nicenames.

This change ensures user nicenames are able to be contained to wrap within the topic/reply author sections of topics and replies on support forums.

Props SergeyBiryukov.
Fixes #2056.

Note: See TracTickets for help on using tickets.