Make WordPress Core

#64086 closed defect (bug) (duplicate)

Enqueing problem affects word-wrap in admin panel

Reported by: chatlit Owned by:
Priority: normal Milestone:
Component: Administration Version:
Severity: normal Keywords:
Cc: Focuses: css

Description (last modified by sabernhardt)

I wish to report a bug.

I'm on this screen (for the Events Calendar plugin):

https://example.org/wp-admin/edit.php?post_type=tribe_events

There is a style:

.widefat * {
word-wrap: break-word;
}

That is causing the title of my events to break after every single letter, making the first column where the title is completely unreadable. It's coming from this file:

https://example.org/wp-admin/css/common.min.css?ver=6.8.3

I was able to override it via enqueing:

function enqueue_custom_override_styles() {
wp_enqueue_style(
'custom-overrides', // unique handle for your stylesheet
get_stylesheet_directory_uri() . '/tribe-events.css', // path to your CSS file
array(), // dependencies
'1.0' // version number
);
}
add_action('wp_enqueue_scripts', 'enqueue_custom_override_styles'); // for front end
add_action('admin_enqueue_scripts', 'enqueue_custom_override_styles'); // for admin area (if needed)

My CSS in tribe-events.css:

.post-type-tribe_events .widefat * {
word-wrap: normal !important;
}

Attachments (1)

Screen Shot 2025-10-07 at 11.53.59 AM.png​ (205.7 KB ) - added by chatlit 12 months ago.
word-wrap:normal is needed to fix the Title column

Download all attachments as: .zip

Change History (2)

@chatlit
12 months ago

word-wrap:normal is needed to fix the Title column

#1 @sabernhardt
12 months ago

  • Description modified (diff)
  • Keywords needs-patch removed
  • Milestone Awaiting Review
  • Resolution → duplicate
  • Status new → closed
  • Version 6.8.3

Hi and welcome to WordPress Core Trac!

If you change word-wrap to normal, contents of the Title column (and other columns) can overlap the next column. The real problem is that the Title column is too narrow with 13 columns when the screen or window is that wide. For now, you could go to Screen Options at the top and uncheck any columns you do not need.

I'll close the ticket as a duplicate of #52151.

Note: See TracTickets for help on using tickets.