[wp-trac] [WordPress Trac] #64086: Enqueing problem affects word-wrap in admin panel
WordPress Trac
noreply at wordpress.org
Tue Oct 7 16:41:35 UTC 2025
#64086: Enqueing problem affects word-wrap in admin panel
----------------------------+-----------------------------
Reporter: chatlit | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Administration | Version: 6.8.3
Severity: normal | Keywords: needs-patch
Focuses: css |
----------------------------+-----------------------------
I wish to report a bug.
I'm on this screen (for the Events Calendar plugin):
https://chathamliteracy.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://chathamliteracy.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;
}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64086>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list